From 0c159d39a33f44bf0f987c0ed0537d0e0c5bbc06 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 8 Oct 2019 10:59:30 +0200 Subject: [PATCH] [UPDATE][X] Use wildcard for theme colors I want the theme to be picked up by both Xterm and URxvt. --- X/.Xresources.d/theme/dark | 39 ++++++++++++++++----------------- X/.Xresources.d/theme/default | 38 ++++++++++++++++---------------- X/.Xresources.d/theme/easy-dark | 39 ++++++++++++++++----------------- X/.Xresources.d/theme/neon | 39 ++++++++++++++++----------------- 4 files changed, 76 insertions(+), 79 deletions(-) diff --git a/X/.Xresources.d/theme/dark b/X/.Xresources.d/theme/dark index 9dadc4f..c3f8e7c 100644 --- a/X/.Xresources.d/theme/dark +++ b/X/.Xresources.d/theme/dark @@ -1,37 +1,36 @@ ! special -urxvt.foreground: #a5a2a2 -urxvt.background: #090300 -urxvt.cursorColor: #a5a2a2 +*.foreground: #a5a2a2 +*.background: #090300 +*.cursorColor: #a5a2a2 ! black -urxvt.color0: #090300 -urxvt.color8: #5c5855 +*.color0: #090300 +*.color8: #5c5855 ! red -urxvt.color1: #db2d20 -urxvt.color9: #db2d20 +*.color1: #db2d20 +*.color9: #db2d20 ! green -urxvt.color2: #01a252 -urxvt.color10: #01a252 +*.color2: #01a252 +*.color10: #01a252 ! yellow -urxvt.color3: #fded02 -urxvt.color11: #fded02 +*.color3: #fded02 +*.color11: #fded02 ! blue -urxvt.color4: #01a0e4 -urxvt.color12: #01a0e4 +*.color4: #01a0e4 +*.color12: #01a0e4 ! magenta -urxvt.color5: #a16a94 -urxvt.color13: #a16a94 +*.color5: #a16a94 +*.color13: #a16a94 ! cyan -urxvt.color6: #b5e4f4 -urxvt.color14: #b5e4f4 +*.color6: #b5e4f4 +*.color14: #b5e4f4 ! white -urxvt.color7: #a5a2a2 -urxvt.color15: #f7f7f7 - +*.color7: #a5a2a2 +*.color15: #f7f7f7 diff --git a/X/.Xresources.d/theme/default b/X/.Xresources.d/theme/default index bda93da..ff900a6 100644 --- a/X/.Xresources.d/theme/default +++ b/X/.Xresources.d/theme/default @@ -1,36 +1,36 @@ ! special -urxvt.foreground: #ffffff -urxvt.background: #1d1f21 -urxvt.cursorColor: #ffffff +*.foreground: #ffffff +*.background: #1d1f21 +*.cursorColor: #ffffff ! black -urxvt.color0: #000000 -urxvt.color8: #555753 +*.color0: #000000 +*.color8: #555753 ! red -urxvt.color1: #ff6565 -urxvt.color9: #ff8d8d +*.color1: #ff6565 +*.color9: #ff8d8d ! green -urxvt.color2: #93d44f -urxvt.color10: #c8e7a8 +*.color2: #93d44f +*.color10: #c8e7a8 ! yellow -urxvt.color3: #eab93d -urxvt.color11: #ffc123 +*.color3: #eab93d +*.color11: #ffc123 ! blue -urxvt.color4: #204a87 -urxvt.color12: #3465a4 +*.color4: #204a87 +*.color12: #3465a4 ! magenta -urxvt.color5: #ce5c00 -urxvt.color13: #f57900 +*.color5: #ce5c00 +*.color13: #f57900 ! cyan -urxvt.color6: #89b6e2 -urxvt.color14: #46a4ff +*.color6: #89b6e2 +*.color14: #46a4ff ! white -urxvt.color7: #cccccc -urxvt.color15: #ffffff +*.color7: #cccccc +*.color15: #ffffff diff --git a/X/.Xresources.d/theme/easy-dark b/X/.Xresources.d/theme/easy-dark index db627af..eb23ac9 100644 --- a/X/.Xresources.d/theme/easy-dark +++ b/X/.Xresources.d/theme/easy-dark @@ -1,37 +1,36 @@ ! special -urxvt.foreground: #c5c8c6 -urxvt.background: #1d1f21 -urxvt.cursorColor: #c5c8c6 +*.foreground: #c5c8c6 +*.background: #1d1f21 +*.cursorColor: #c5c8c6 ! black -urxvt.color0: #282a2e -urxvt.color8: #373b41 +*.color0: #282a2e +*.color8: #373b41 ! red -urxvt.color1: #a54242 -urxvt.color9: #cc6666 +*.color1: #a54242 +*.color9: #cc6666 ! green -urxvt.color2: #8c9440 -urxvt.color10: #b5bd68 +*.color2: #8c9440 +*.color10: #b5bd68 ! yellow -urxvt.color3: #de935f -urxvt.color11: #f0c674 +*.color3: #de935f +*.color11: #f0c674 ! blue -urxvt.color4: #5f819d -urxvt.color12: #81a2be +*.color4: #5f819d +*.color12: #81a2be ! magenta -urxvt.color5: #85678f -urxvt.color13: #b294bb +*.color5: #85678f +*.color13: #b294bb ! cyan -urxvt.color6: #5e8d87 -urxvt.color14: #8abeb7 +*.color6: #5e8d87 +*.color14: #8abeb7 ! white -urxvt.color7: #707880 -urxvt.color15: #c5c8c6 - +*.color7: #707880 +*.color15: #c5c8c6 diff --git a/X/.Xresources.d/theme/neon b/X/.Xresources.d/theme/neon index ec2fddd..f8c264a 100644 --- a/X/.Xresources.d/theme/neon +++ b/X/.Xresources.d/theme/neon @@ -1,37 +1,36 @@ ! special -urxvt.foreground: #f8f8f8 -urxvt.background: #171717 -urxvt.cursorColor: #f8f8f8 +*.foreground: #f8f8f8 +*.background: #171717 +*.cursorColor: #f8f8f8 ! black -urxvt.color0: #171717 -urxvt.color8: #38252c +*.color0: #171717 +*.color8: #38252c ! red -urxvt.color1: #d81765 -urxvt.color9: #ff0000 +*.color1: #d81765 +*.color9: #ff0000 ! green -urxvt.color2: #97d01a -urxvt.color10: #76b639 +*.color2: #97d01a +*.color10: #76b639 ! yellow -urxvt.color3: #ffa800 -urxvt.color11: #e1a126 +*.color3: #ffa800 +*.color11: #e1a126 ! blue -urxvt.color4: #16b1fb -urxvt.color12: #289cd5 +*.color4: #16b1fb +*.color12: #289cd5 ! magenta -urxvt.color5: #ff2491 -urxvt.color13: #ff2491 +*.color5: #ff2491 +*.color13: #ff2491 ! cyan -urxvt.color6: #0fdcb6 -urxvt.color14: #0a9b81 +*.color6: #0fdcb6 +*.color14: #0a9b81 ! white -urxvt.color7: #ebebeb -urxvt.color15: #f8f8f8 - +*.color7: #ebebeb +*.color15: #f8f8f8