! -----------------------------------------------------------------------------
! Based on: gruvbox-dark and zenburn 
! Source: https://github.com/morhetz/gruvbox-generalized
!         https://github.com/jnurmine/Zenburn
! -----------------------------------------------------------------------------

Xft.autohint: 0
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

!---------!
! Gruvbox !
! --------!

! hard contrast: *background: #1d2021
! medium contrast: *background: #282828
! soft contrast: *background: #32302f
! *background: #1d2021
! *foreground: #ebdbb2
! ! Black + DarkGrey
! *color0:  #282828
! *color8:  #928374
! ! DarkRed + Red
! *color1:  #cc241d
! *color9:  #fb4934
! ! DarkGreen + Green
! *color2:  #98971a
! *color10: #b8bb26
! ! DarkYellow + Yellow
! *color3:  #d79921
! *color11: #fabd2f
! ! DarkBlue + Blue
! *color4:  #458588
! *color12: #83a598
! ! DarkMagenta + Magenta
! *color5:  #b16286
! *color13: #d3869b
! ! DarkCyan + Cyan
! *color6:  #689d6a
! *color14: #8ec07c
! ! LightGrey + White
! *color7:  #a89984
! *color15: #ebdbb2

!---------!
! Zenburn !
!---------!

*background: #3f3f3f
*foreground: #dcdccc
! Black + DarkGrey
*color0:  #282828
*color8:  #709080
! DarkRed + Red
*color1:  #705050
*color9:  #dca3a3
! DarkGreen + Green
*color2:  #60b48a
*color10: #c3bf9f
! DarkYellow + Yellow
*color3:  #f0deae
*color11: #dfcf9f
! DarkBlue + Blue
*color4:  #506070
*color12: #94bff3
! DarkMagenta + Magenta
*color5:  #dc8cc3
*color13: #ec93d3
! DarkCyan + Cyan
*color6:  #8cd0d3
*color14: #93e0e3
! LightGrey + White
*color7:  #dcdccc
*color15: #ffffff

!!! urxvt
URxvt.perl-ext-common: default,matcher
URxvt*buffered: true
URxvt*saveLines: 5000
URxvt*cursorBlink: true
URxvt*borderless: 1
URxvt*internalBorder: 20
URxvt*scrollBar: false
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
URxvt.clipboard.autocopy: true

! do not scroll with output
URxvt*scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: true
! disable scrollback buffer in secondary screen (allows scrolling pager when using 'less' etc)
URxvt.secondaryScreen: 1
URxvt.secondaryScroll: 0
! Disable printing the terminal contents when pressing PrintScreen.
URxvt.print-pipe: "cat > /dev/null"
!! copy/paste
! disable default ctrl-shift binding
URxvt.iso14755: false
URxvt.iso14755_52: false
! disable default copy/paste bindings
URxvt.keysym.Control-Meta-c: builtin-string:
URxvt.keysym.Control-Meta-v: builtin-string:
! new copy/paste bindings
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
!! font
!URxvt.letterSpace: -1
URxvt.font: xft:Hack:regular:size=12, \
            xft:Font Awesome 5 Brands:Regular:size=10, \
            xft:Font Awesome 5 Free:Solid:size=10, \
            xft:Font Awesome 5 Free:Regular:size=10