From a130ffe31778a5860412df53960d9d160b545fca Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 11 Jul 2019 13:26:05 +0200 Subject: [PATCH] [ADD] X and urxvt configuration --- X/.Xresources | 36 ++++++++++++++++++++++++++++++++ X/.Xresources.d/theme/dark | 37 +++++++++++++++++++++++++++++++++ X/.Xresources.d/theme/default | 36 ++++++++++++++++++++++++++++++++ X/.Xresources.d/theme/easy-dark | 37 +++++++++++++++++++++++++++++++++ X/.Xresources.d/theme/neon | 37 +++++++++++++++++++++++++++++++++ X/.xinitrc | 5 +++++ 6 files changed, 188 insertions(+) create mode 100644 X/.Xresources create mode 100644 X/.Xresources.d/theme/dark create mode 100644 X/.Xresources.d/theme/default create mode 100644 X/.Xresources.d/theme/easy-dark create mode 100644 X/.Xresources.d/theme/neon create mode 100644 X/.xinitrc diff --git a/X/.Xresources b/X/.Xresources new file mode 100644 index 0000000..c9ecc9a --- /dev/null +++ b/X/.Xresources @@ -0,0 +1,36 @@ +! FIXME: this line should be conditional in some way +#include ".Xresources.d/theme/easy-dark" + +! Remove the ugly scrollbar +URxvt.scrollBar: false +! Nice looking font, small but legible +URxvt.font: xft:Terminus:mono:size=8 +! Remove the weird spacing around characters +URxvt.letterSpace: -5 + +! Loaading extensions +URxvt.perl-ext-common: default,keyboard-select,resize-font + +!!! Font resizing shortcuts: +! Ctr+Maj+=/Ctrl++ Go a size up +! Ctrl+- Go a size down +! Ctrl+= Go back to default +! Ctrl+? Show current size + +!!! Keyboard select shortcuts +! h/j/k/l: Move cursor left/down/up/right (also with arrow keys) +! g/G/0/^/$/H/M/L/f/F/;/,/w/W/b/B/e/E: More vi-like cursor movement keys +! '/'/?: Start forward/backward search +! n/N: Repeat last search, N: in reverse direction +! Ctrl+f/b: Scroll down/up one screen +! Ctrl+d/u: Scroll down/up half a screen +! v/V/Ctrl+v: Toggle normal/linewise/blockwise selection +! y/Return: Copy selection to primary buffer, Return: quit afterwards +! Y: Copy selected lines to primary buffer or cursor line and quit +! q/Escape: Quit keyboard selection mode + +! Activate keyboard selection with Al+-Esc +URxvt.keysym.M-Escape: perl:keyboard-select:activate +! Activate backwards-search with Alt+s +URxvt.keysym.M-s: perl:keyboard-select:search + diff --git a/X/.Xresources.d/theme/dark b/X/.Xresources.d/theme/dark new file mode 100644 index 0000000..9dadc4f --- /dev/null +++ b/X/.Xresources.d/theme/dark @@ -0,0 +1,37 @@ +! special +urxvt.foreground: #a5a2a2 +urxvt.background: #090300 +urxvt.cursorColor: #a5a2a2 + +! black +urxvt.color0: #090300 +urxvt.color8: #5c5855 + +! red +urxvt.color1: #db2d20 +urxvt.color9: #db2d20 + +! green +urxvt.color2: #01a252 +urxvt.color10: #01a252 + +! yellow +urxvt.color3: #fded02 +urxvt.color11: #fded02 + +! blue +urxvt.color4: #01a0e4 +urxvt.color12: #01a0e4 + +! magenta +urxvt.color5: #a16a94 +urxvt.color13: #a16a94 + +! cyan +urxvt.color6: #b5e4f4 +urxvt.color14: #b5e4f4 + +! white +urxvt.color7: #a5a2a2 +urxvt.color15: #f7f7f7 + diff --git a/X/.Xresources.d/theme/default b/X/.Xresources.d/theme/default new file mode 100644 index 0000000..bda93da --- /dev/null +++ b/X/.Xresources.d/theme/default @@ -0,0 +1,36 @@ +! special +urxvt.foreground: #ffffff +urxvt.background: #1d1f21 +urxvt.cursorColor: #ffffff + +! black +urxvt.color0: #000000 +urxvt.color8: #555753 + +! red +urxvt.color1: #ff6565 +urxvt.color9: #ff8d8d + +! green +urxvt.color2: #93d44f +urxvt.color10: #c8e7a8 + +! yellow +urxvt.color3: #eab93d +urxvt.color11: #ffc123 + +! blue +urxvt.color4: #204a87 +urxvt.color12: #3465a4 + +! magenta +urxvt.color5: #ce5c00 +urxvt.color13: #f57900 + +! cyan +urxvt.color6: #89b6e2 +urxvt.color14: #46a4ff + +! white +urxvt.color7: #cccccc +urxvt.color15: #ffffff diff --git a/X/.Xresources.d/theme/easy-dark b/X/.Xresources.d/theme/easy-dark new file mode 100644 index 0000000..db627af --- /dev/null +++ b/X/.Xresources.d/theme/easy-dark @@ -0,0 +1,37 @@ +! special +urxvt.foreground: #c5c8c6 +urxvt.background: #1d1f21 +urxvt.cursorColor: #c5c8c6 + +! black +urxvt.color0: #282a2e +urxvt.color8: #373b41 + +! red +urxvt.color1: #a54242 +urxvt.color9: #cc6666 + +! green +urxvt.color2: #8c9440 +urxvt.color10: #b5bd68 + +! yellow +urxvt.color3: #de935f +urxvt.color11: #f0c674 + +! blue +urxvt.color4: #5f819d +urxvt.color12: #81a2be + +! magenta +urxvt.color5: #85678f +urxvt.color13: #b294bb + +! cyan +urxvt.color6: #5e8d87 +urxvt.color14: #8abeb7 + +! white +urxvt.color7: #707880 +urxvt.color15: #c5c8c6 + diff --git a/X/.Xresources.d/theme/neon b/X/.Xresources.d/theme/neon new file mode 100644 index 0000000..ec2fddd --- /dev/null +++ b/X/.Xresources.d/theme/neon @@ -0,0 +1,37 @@ +! special +urxvt.foreground: #f8f8f8 +urxvt.background: #171717 +urxvt.cursorColor: #f8f8f8 + +! black +urxvt.color0: #171717 +urxvt.color8: #38252c + +! red +urxvt.color1: #d81765 +urxvt.color9: #ff0000 + +! green +urxvt.color2: #97d01a +urxvt.color10: #76b639 + +! yellow +urxvt.color3: #ffa800 +urxvt.color11: #e1a126 + +! blue +urxvt.color4: #16b1fb +urxvt.color12: #289cd5 + +! magenta +urxvt.color5: #ff2491 +urxvt.color13: #ff2491 + +! cyan +urxvt.color6: #0fdcb6 +urxvt.color14: #0a9b81 + +! white +urxvt.color7: #ebebeb +urxvt.color15: #f8f8f8 + diff --git a/X/.xinitrc b/X/.xinitrc new file mode 100644 index 0000000..9ea49b8 --- /dev/null +++ b/X/.xinitrc @@ -0,0 +1,5 @@ +# Allow inclusion of home directories in ~/.Xresources +xrdb -I$HOME ~/.Xresources + +# Launch i3 +exec i3