aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-02-06 16:29:12 -0700
committerkatherine <shmibs@shmibbles.me>2016-02-06 16:29:12 -0700
commit699e1904bbf22a40fdba34f53472ca773d7041fb (patch)
treeae6b78e9898b7d58230ff8d1b6f793bc55d30edf /.config/init
parent3d59966f4c5d9dfb7c0c40f278a412b0ec22fbd3 (diff)
downloaddotfiles-699e1904bbf22a40fdba34f53472ca773d7041fb.tar.gz
unify theming
Diffstat (limited to '.config/init')
-rw-r--r--.config/init/gen-bg-saved.sh5
-rw-r--r--.config/init/gen-urxvt-theme.sh51
-rw-r--r--.config/init/gen-userChrome.sh39
-rw-r--r--.config/init/gen-zathurarc.sh2
-rwxr-xr-x.config/init/init.sh3
-rw-r--r--.config/init/vars106
6 files changed, 172 insertions, 34 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..ba11d71
--- /dev/null
+++ b/.config/init/gen-urxvt-theme.sh
@@ -0,0 +1,51 @@
+{
+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:${ttfont}:size=${ttfont_size}, "
+echo "xft:${jfont}:size=${jfont_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..ed5f1f2
--- /dev/null
+++ b/.config/init/gen-userChrome.sh
@@ -0,0 +1,39 @@
+echo "\
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/* Get rid of the bottom border */
+#TabsToolbar:after {
+ border-bottom: 0px !important;
+}
+
+/* Hide the new curved tab edges */
+.tab-background {
+ visibility: hidden !important;
+}
+
+/* Hide the little graphic seperators between inactive tabs */
+.tabbrowser-tab:before,
+.tabbrowser-tab:after {
+ visibility: hidden !important;
+}
+
+#TabsToolbar {
+ -moz-appearance: none !important;
+ background: ${bg_normal} !important;
+}
+
+.tabbrowser-tab {
+ background: ${bg_normal} !important;
+ color: ${fg_normal} !important;
+ font-family: \"${ttfont}\" !important;
+ font-size: ${ttfont_size}pt !important;
+}
+
+.tabbrowser-tab[selected] {
+ background: ${bg_focus} !important;
+ color: ${fg_focus} !important;
+ font-family: \"${ttfont}\" !important;
+ font-size: ${ttfont_size}pt !important;
+}
+" > /tmp/userChrome.css
+
diff --git a/.config/init/gen-zathurarc.sh b/.config/init/gen-zathurarc.sh
index 576cebb..9e577b5 100644
--- a/.config/init/gen-zathurarc.sh
+++ b/.config/init/gen-zathurarc.sh
@@ -1,7 +1,7 @@
{
echo "\
-set font \"$ttfont\"
+set font \"$ttfont $ttfont_size\"
set highlight-color \"$bg_normal\"
set highlight-active-color \"$bg_focus\"
diff --git a/.config/init/init.sh b/.config/init/init.sh
index c4a0ba2..9b45f62 100755
--- a/.config/init/init.sh
+++ b/.config/init/init.sh
@@ -2,3 +2,6 @@
source ~/.config/init/vars
source ~/.config/init/gen-zathurarc.sh
+source ~/.config/init/gen-urxvt-theme.sh
+source ~/.config/init/gen-userChrome.sh
+source ~/.config/init/gen-bg-saved.sh
diff --git a/.config/init/vars b/.config/init/vars
index e04dbbc..e32b24f 100644
--- a/.config/init/vars
+++ b/.config/init/vars
@@ -2,20 +2,29 @@
# general #
#############
-bheight=18
+bheight=20
-bfont1='-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-*'
-bfont2='-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*'
+ifont='-*-stlarch-medium-r-*-*-*-*-*-*-*-*-*-*'
+ifont_off='-2'
-efont='-*-tamsyn-medium-*-*-*-14-*-*-*-*-*-*-*'
+bfont='Droid Sans Mono'
+bfont_size='8'
+bfont_off='-2'
-ttfont='Fira Mono 10'
+jfont='Togoshi Mono'
+jfont_size='10'
+jfont_off='0'
+
+
+ttfont='Hack'
+ttfont_size='10'
############
# themes #
############
# Arch Blue
+#wallpaper='arch-sloppity.png'
#bg_normal='#333333'
#fg_normal='#efefef'
#bg_focus='#00aad4'
@@ -23,13 +32,14 @@ ttfont='Fira Mono 10'
#bg_urgent='#ff4070'
#fg_urgent='#efefef'
#
-#fg_grey='#ababab'
-#fg_red='#ff6699'
-#fg_green='#d5f85f'
-#fg_yellow='#ffa466'
-#fg_blue='#00aad4'
+#std_grey='#ababab'
+#std_red='#ff6699'
+#std_green='#d5f85f'
+#std_yellow='#ffa466'
+#std_blue='#00aad4'
# Section 9
+#wallpaper='gits-city.jpg'
#bg_normal='#333333'
#fg_normal='#efefef'
#bg_focus='#714BA7'
@@ -37,13 +47,29 @@ ttfont='Fira Mono 10'
#bg_urgent='#ff4070'
#fg_urgent='#efefef'
#
-#fg_grey='#ababab'
-#fg_red='#ff6699'
-#fg_green='#d5f85f'
-#fg_yellow='#ffa466'
-#fg_blue='#00aad4'
+#std_grey='#ababab'
+#std_red='#ff6699'
+#std_green='#d5f85f'
+#std_yellow='#ffa466'
+#std_blue='#00aad4'
+
+# Lain Bed
+#wallpaper='lain-bed.png'
+#bg_normal='#262626'
+#fg_normal='#c1b48e'
+#bg_focus='#d0758b'
+#fg_focus='#efefef'
+#bg_urgent='#ff4070'
+#fg_urgent='#efefef'
+#
+#std_grey='#808080'
+#std_red='#d0758b'
+#std_green='#d0758b'
+#std_yellow='#d0758b'
+#std_blue='#d0758b'
-# Lain Blind
+# Aigis
+#wallpaper='aigis-1920x1080.png'
#bg_normal='#262626'
#fg_normal='#c1b48e'
#bg_focus='#d0758b'
@@ -51,22 +77,36 @@ ttfont='Fira Mono 10'
#bg_urgent='#ff4070'
#fg_urgent='#efefef'
#
-#fg_grey='#808080'
-#fg_red='#d0758b'
-#fg_green='#d0758b'
-#fg_yellow='#d0758b'
-#fg_blue='#d0758b'
+#std_grey='#566a72'
+#std_red='#ba5654'
+#std_green='#badbb4'
+#std_yellow='#b9c780'
+#std_blue='#99cff3'
+
+# Pink
+wallpaper='kuvshinov-ilya.png'
+
+std_black='#262626'
+std_red='#ed4047'
+std_green='#6dd46b'
+std_yellow='#ccca7a'
+std_blue='#0075a6'
+std_magenta='#e1447b'
+std_cyan='#2dfac9'
+std_white='#e5e8ca'
-# Aigis
-bg_normal='#262626'
-fg_normal='#c1b48e'
-bg_focus='#d0758b'
-fg_focus='#efefef'
-bg_urgent='#ff4070'
-fg_urgent='#efefef'
+light_black='#566a72'
+light_red='#ff666c'
+light_green='#8ff78d'
+light_yellow='#ecea86'
+light_blue='#0094bf'
+light_magenta='#e06d94'
+light_cyan='#9effe4'
+light_white='#ffffff'
-fg_grey='#566a72'
-fg_red='#ba5654'
-fg_green='#badbb4'
-fg_yellow='#b9c780'
-fg_blue='#99cff3'
+bg_normal="$std_black"
+fg_normal="$std_white"
+bg_focus="$light_magenta"
+fg_focus="$light_white"
+bg_urgent="$std_red"
+fg_urgent="$light_red"