[ADD] X and urxvt configuration

This commit is contained in:
Bruno BELANYI 2019-07-11 13:26:05 +02:00
commit a130ffe317
6 changed files with 188 additions and 0 deletions

36
X/.Xresources Normal file
View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

5
X/.xinitrc Normal file
View file

@ -0,0 +1,5 @@
# Allow inclusion of home directories in ~/.Xresources
xrdb -I$HOME ~/.Xresources
# Launch i3
exec i3