aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/gen/urxvt-theme.sh
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-10-01 13:58:31 -0700
committerkatherine <shmibs@shmibbles.me>2016-10-01 13:58:31 -0700
commitbacc4127b7da22c61671fe3ce0cef6db103884dd (patch)
treee631d8a0f5609c5137afade0a8b36589997d8346 /.config/init/gen/urxvt-theme.sh
parent4a879cb286f97f317b1109d8d07be4508c76e5f8 (diff)
downloaddotfiles-bacc4127b7da22c61671fe3ce0cef6db103884dd.tar.gz
overhaul init system
gen files now kept in gen directory. funcs now included in $PATH only if their funcreqs are successfully passed at login, making things cleaner and more system-independent
Diffstat (limited to '.config/init/gen/urxvt-theme.sh')
-rw-r--r--.config/init/gen/urxvt-theme.sh52
1 files changed, 52 insertions, 0 deletions
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
+