From 6a51aabafd14ce7f1aa916826a06cbe1dec6956a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 28 Feb 2015 16:30:20 -0500 Subject: [PATCH] use separate xresources file for theme/colors --- x/.Xresources | 55 +------------------------- x/.base16-tomorrow.dark.256.xresources | 50 +++++++++++++++++++++++ x/.xprofile | 1 + 3 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 x/.base16-tomorrow.dark.256.xresources diff --git a/x/.Xresources b/x/.Xresources index 960ef75..cdf3bbe 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -5,7 +5,7 @@ URxvt.scrollBar: false !! Sauce Code Pro URxvt.font: xft:Sauce Code Powerline-11:hinting=True;antialias:True,xft:Meslo LG M for Powerline-10:medium;antialias=False,xft:DejaVu Sans Mono for Powerline-10:medium;antialias=True,xft:Unifont-10:medium;antialias:True URxvt.boldFont: xft:Sauce Code Powerline-11:bold;hinting=True;antialias:True,xft:Meslo LG M for Powerline-10:bold;antialias=False,xft:DejaVu Sans Mono for Powerline-10:bold;antialias=True,xft:Unifont-10:bold;antialias:True -URxvt.letterSpace: -1 +!URxvt.letterSpace: -1 !-*-{ Xft settings Xft*dpi: 96 Xft*antialias: True @@ -32,59 +32,8 @@ URxvt.keysym.C-Down: perl:font-size:decrease !URxvt.iso14755: false !URxvt.iso14755_52: false - -! base16 Atelier Heath -! Scheme: Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) - -#define base00 #2a2a2a -#define base01 #292329 -#define base02 #695d69 -#define base03 #776977 -#define base04 #9e8f9e -#define base05 #ab9bab -#define base06 #d8cad8 -#define base07 #f7f3f7 -#define base08 #cf0f38 -#define base09 #a65926 -#define base0A #bb8a35 -#define base0B #379a37 -#define base0C #159393 -#define base0D #516aec -#define base0E #7b59c0 -#define base0F #cc33cc - -*.foreground: base05 -*.background: base00 -*.cursorColor: base05 - -*.color0: base00 -*.color1: base08 -*.color2: base0B -*.color3: base0A -*.color4: base0D -*.color5: base0E -*.color6: base0C -*.color7: base05 - -*.color8: base03 -*.color9: base08 -*.color10: base0B -*.color11: base0A -*.color12: base0D -*.color13: base0E -*.color14: base0C -*.color15: base07 - -! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), -! use 'shell' template to set these if necessary -*.color16: base09 -*.color17: base0F -*.color18: base01 -*.color19: base02 -*.color20: base04 -*.color21: base06 - ! Xcursor -------------------------------------------------------------------- !Xcursor.theme: Vanilla-DMZ-AA !Xcursor.size: 22 + diff --git a/x/.base16-tomorrow.dark.256.xresources b/x/.base16-tomorrow.dark.256.xresources new file mode 100644 index 0000000..3273270 --- /dev/null +++ b/x/.base16-tomorrow.dark.256.xresources @@ -0,0 +1,50 @@ +! Base16 Tomorrow +! Scheme: Chris Kempson (http://chriskempson.com) + +#define base00 #1d1f21 +#define base01 #282a2e +#define base02 #373b41 +#define base03 #969896 +#define base04 #b4b7b4 +#define base05 #c5c8c6 +#define base06 #e0e0e0 +#define base07 #ffffff +#define base08 #cc6666 +#define base09 #de935f +#define base0A #f0c674 +#define base0B #b5bd68 +#define base0C #8abeb7 +#define base0D #81a2be +#define base0E #b294bb +#define base0F #a3685a + +*.foreground: base05 +*.background: base00 +*.cursorColor: base05 + +*.color0: base00 +*.color1: base08 +*.color2: base0B +*.color3: base0A +*.color4: base0D +*.color5: base0E +*.color6: base0C +*.color7: base05 + +*.color8: base03 +*.color9: base08 +*.color10: base0B +*.color11: base0A +*.color12: base0D +*.color13: base0E +*.color14: base0C +*.color15: base07 + +! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), +! use 'shell' template to set these if necessary +*.color16: base09 +*.color17: base0F +*.color18: base01 +*.color19: base02 +*.color20: base04 +*.color21: base06 diff --git a/x/.xprofile b/x/.xprofile index e4734db..8342420 100755 --- a/x/.xprofile +++ b/x/.xprofile @@ -15,6 +15,7 @@ fi export _JAVA_AWT_WM_NONREPARENTING=1 xrdb -merge ~/.Xresources +xrdb -merge ~/.base16-tomorrow.dark.256.xresources # set the cursor icon xsetroot -cursor_name left_ptr & -- 2.20.1