emacs: make my theme change functions more robust
[~bandali/configs] / .Xresources.d / rxvt-unicode
index 5ba0598..cc5f766 100644 (file)
@@ -29,11 +29,15 @@ URxvt.keysym.M-Escape:      perl:keyboard-select:activate
 URxvt.keysym.M-s:           perl:keyboard-select:search
 URxvt.url-launcher:         /usr/bin/abrowser
 URxvt.matcher.button:       1
-URxvt.iso14755:             false
-URxvt.iso14755_53:          false
-URxvt.keysym.M-c:           perl:clipboard:copy
-URxvt.keysym.M-v:           perl:clipboard:paste
+! URxvt.iso14755:             false
+! URxvt.iso14755_53:          false
+! URxvt.keysym.M-c:           perl:clipboard:copy
+! URxvt.keysym.M-v:           perl:clipboard:paste
+URxvt.keysym.M-c:           eval:selection_to_clipboard
+URxvt.keysym.M-v:           eval:paste_clipboard
 URxvt.keysym.C-A-V:         perl:clipboard:paste_escaped
+! URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
+! URxvt.keysym.Shift-Control-V: eval:paste_clipboard
 URxvt.keysym.C-Up:          font-size:increase
 URxvt.keysym.C-Down:        font-size:decrease
 URxvt.keysym.C-S-Up:        font-size:incglobal
@@ -92,98 +96,98 @@ URxvt.keysym.C-equal:       font-size:reset
 !*color15: #EEEEEC
 
 
-! Solarized
-! Base16 Solarized Light
-! Scheme: Ethan Schoonover (http://ethanschoonover.com/solarized)
-
-#define base00 #fdf6e3
-#define base01 #eee8d5
-#define base02 #93a1a1
-#define base03 #839496
-#define base04 #657b83
-#define base05 #586e75
-#define base06 #073642
-#define base07 #002b36
-#define base08 #dc322f
-#define base09 #cb4b16
-#define base0A #b58900
-#define base0B #859900
-#define base0C #2aa198
-#define base0D #268bd2
-#define base0E #6c71c4
-#define base0F #d33682
-
-*foreground:   base05
-#ifdef background_opacity
-*background:   [background_opacity]base00
-#else
-*background:   base00
-#endif
-*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
+! Solarized
+! Base16 Solarized Light
+! Scheme: Ethan Schoonover (http://ethanschoonover.com/solarized)
+
+#define base00 #fdf6e3
+#define base01 #eee8d5
+#define base02 #93a1a1
+#define base03 #839496
+#define base04 #657b83
+#define base05 #586e75
+#define base06 #073642
+#define base07 #002b36
+#define base08 #dc322f
+#define base09 #cb4b16
+#define base0A #b58900
+#define base0B #859900
+#define base0C #2aa198
+#define base0D #268bd2
+#define base0E #6c71c4
+#define base0F #d33682
+
+*foreground:   base05
+#ifdef background_opacity
+*background:   [background_opacity]base00
+#else
+*background:   base00
+#endif
+*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
 
 
 ! Tango colour theme for rxvt-unicode
-URxvt.background: #FFFFFF
-URxvt.foreground: #000000
-
-! Black
-URxvt.color0: #2E3436
-URxvt.color8: #757773
-
-! Red
-URxvt.color1: #CC0000
-URxvt.color9: #EF2929
-
-! Green
-URxvt.color2: #4E9A06
-URxvt.color10: #8AE234
-
-! Yellow
-URxvt.color3: #C4A000
-URxvt.color11: #FCE94F
-
-! Blue
-URxvt.color4: #3465A4
-URxvt.color12: #729FCF
-
-! Magenta
-URxvt.color5: #75507B
-URxvt.color13: #AD7FA8
-
-! !! Cyan
-! !URxvt.color6: #06989A
-! !URxvt.color14: #34E2E2
-! orange (replaces cyan)
-,*color6:  #ce5c00
-,*color14: #fcaf3e
-
-! White
-URxvt.color7: #D3D7CF
-URxvt.color15: #EEEEEC
+URxvt.background: #FFFFFF
+URxvt.foreground: #000000
+
+! Black
+URxvt.color0: #2E3436
+URxvt.color8: #757773
+
+! Red
+URxvt.color1: #CC0000
+URxvt.color9: #EF2929
+
+! Green
+URxvt.color2: #4E9A06
+URxvt.color10: #8AE234
+
+! Yellow
+URxvt.color3: #C4A000
+URxvt.color11: #FCE94F
+
+! Blue
+URxvt.color4: #3465A4
+URxvt.color12: #729FCF
+
+! Magenta
+URxvt.color5: #75507B
+URxvt.color13: #AD7FA8
+
+!! Cyan
+!URxvt.color6: #06989A
+!URxvt.color14: #34E2E2
+! orange (replaces cyan)
+,*color6:  #ce5c00
+,*color14: #fcaf3e
+
+! White
+URxvt.color7: #D3D7CF
+URxvt.color15: #EEEEEC