diff options
Diffstat (limited to '.config/init/gen')
-rw-r--r-- | .config/init/gen/bg-saved.sh | 5 | ||||
-rw-r--r-- | .config/init/gen/urxvt-theme.sh | 52 | ||||
-rw-r--r-- | .config/init/gen/userChrome.sh | 87 | ||||
-rw-r--r-- | .config/init/gen/zathurarc.sh | 29 |
4 files changed, 173 insertions, 0 deletions
diff --git a/.config/init/gen/bg-saved.sh b/.config/init/gen/bg-saved.sh new file mode 100644 index 0000000..bf2d7cc --- /dev/null +++ b/.config/init/gen/bg-saved.sh @@ -0,0 +1,5 @@ +echo "\ +[:0.0] +file=$HOME/backdrops/shadowed/$wallpaper +mode=4 +bgcolor=#000000" > /tmp/bg-saved.cfg diff --git a/.config/init/gen/urxvt-theme.sh b/.config/init/gen/urxvt-theme.sh new file mode 100644 index 0000000..40e986b --- /dev/null +++ b/.config/init/gen/urxvt-theme.sh @@ -0,0 +1,52 @@ +{ +echo "\ +! Use the specified colour as the windows background colour [default White]; option -bg. +URxvt*background: $bg_normal + +! Use the specified colour as the windows foreground colour [default Black]; option -fg. +URxvt*foreground: $fg_normal + +! black +URxvt*color0: $std_black +! light black +URxvt*color8: $light_black +! red +URxvt*color1: $std_red +! light red +URxvt*color9: $light_red +! green +URxvt*color2: $std_green +! light green +URxvt*color10: $light_green +! yellow +URxvt*color3: $std_yellow +! light yellow +URxvt*color11: $light_yellow +! blue +URxvt*color4: $std_blue +! light blue +URxvt*color12: $light_blue +! magenta +URxvt*color5: $std_magenta +! light magenta +URxvt*color13: $light_magenta +! cyan +URxvt*color6: $std_cyan +! light cyan +URxvt*color14: $light_cyan +! white +URxvt*color7: $std_white +! light white +URxvt*color15: $light_white +" + +# Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first font +echo -n "URxvt*font: " +echo -n "xft:${mfont}:size=${mfont_size}, " +echo -n "xft:${jfont}:size=${jfont_size}, " +echo "xft:${bkfont}:size=${bkfont_size}" + +} > /tmp/urxvt-theme + +xrdb -merge /tmp/urxvt-theme + diff --git a/.config/init/gen/userChrome.sh b/.config/init/gen/userChrome.sh new file mode 100644 index 0000000..44fb6a9 --- /dev/null +++ b/.config/init/gen/userChrome.sh @@ -0,0 +1,87 @@ +echo "\ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +@-moz-document url-prefix(about:blank) {*{background-color:${bg_normal};}} + +#TabsToolbar:not(:-moz-lwtheme)::after {display: none;} +/* Remove the following line if you want the text color of unselected tabs to be black (Firefox default) */ +#TabsToolbar .tabbrowser-tab:not([selected]) {color: rgba(255,255,255,0.9);} + +#TabsToolbar { + background: rgb(50,50,50) !important; + margin-bottom: 0 !important; +} + +#TabsToolbar .tabbrowser-tabs { + min-height: ${bheight}px !important; + margin-top: 0px !important; + margin-bottom: 0px !important; + margin-left: -15px !important; + margin-right: -15px !important; +} + +#tabbrowser-tabs tab .tab-close-button { + display: none !important; +} + +.tabbrowser-tab:not([pinned]) .tab-icon-image { + display: none !important; +} + + +#TabsToolbar .tabbrowser-tab { + -moz-border-top-colors: none !important; + -moz-border-left-colors: none !important; + -moz-border-right-colors: none !important; + -moz-border-bottom-colors: none !important; + padding-top: 1px !important; + padding-right: 0 !important; + border-radius: 0px !important; + background: ${bg_normal} !important; + background-clip: padding-box !important; + margin-left: 0px !important; + color: ${fg_normal} !important; + font-family: '${bfont}' !important; + min-height: ${bheight}px !important; +} + +#TabsToolbar .tabs-newtab-button { + display: none !important; +} + +#TabsToolbar .tabbrowser-tab[selected] { + color: ${fg_focus} !important; + background: ${bg_focus} !important; + background-clip: padding-box !important; +} + +#TabsToolbar .tab-background { + margin: 0 !important; + background: transparent !important; +} + +#TabsToolbar .tab-background-start, +#TabsToolbar .tab-background-end { + display: none !important; +} + +#TabsToolbar .tab-background-middle { + margin: -4px -2px !important; + background: transparent !important; +} + +#TabsToolbar .tabbrowser-tab:after, +#TabsToolbar .tabbrowser-tab:before { + display: none !important; +} + +#TabsToolbar .tabs-newtab-button { + display: none !important; +} + +.scrollbutton-up, .scrollbutton-down, #alltabs-button { + display: none !important; +} + +" > /tmp/userChrome.css + diff --git a/.config/init/gen/zathurarc.sh b/.config/init/gen/zathurarc.sh new file mode 100644 index 0000000..387b1e3 --- /dev/null +++ b/.config/init/gen/zathurarc.sh @@ -0,0 +1,29 @@ +{ + +echo "\ +set font \"$mfont $mfont_size\" + +set highlight-color \"$bg_normal\" +set highlight-active-color \"$bg_focus\" + +set scroll-page-aware true +set window-title-basename true +set selection-clipboard clipboard +set selection-notification false +set statusbar-home-tilde true +" + +normal=(completion default index inputbar statusbar notification-warning) +focus=(completion-highlight index-active notification-error) + +for i in ${normal[@]}; do + echo "set $i-fg \"$fg_normal\"" + echo "set $i-bg \"$bg_normal\"" +done + +for i in ${focus[@]}; do + echo "set $i-fg \"$fg_focus\"" + echo "set $i-bg \"$bg_focus\"" +done + +} > /tmp/zathurarc |