!!! ~/.Xresources -*- conf-xdefaults -*-

!!! XTerm

! Many of these settings are pulled from
! https://aduros.com/blog/xterm-its-better-than-you-thought/

!! Sensible defaults
*.vt100.locale: false
*.vt100.utf8: true
*.vt100.scrollTtyOutput: false
*.vt100.scrollKey: true
*.vt100.bellIsUrgent: true
*.vt100.metaSendsEscape: true

!! Styling
*.vt100.faceName: Recursive Mono Casual Static
*.vt100.boldMode: false
*.vt100.faceSize: 11
*.vt100.internalBorder: 2
*.borderWidth: 0

!! Keybinds
!XTerm.vt100.printerCommand: select-url
!XTerm.vt100.printAttributes: 0
! C-S-c: copy to clipboard
! C-S-v: paste from clipboard
XTerm.vt100.translations: #override \n\
    Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
    Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
    Ctrl Shift <Key>H: set-altscreen(toggle)

! Security
*allowFontOps: false

!!! Fonts

Xft.antialias: 1
Xft.rgba: rgb
Xft.autohint: 0
Xft.hinting: 1
Xft.hintstyle: hintslight

!!! Xclock
!XClock*width: 60
!XClock*height: 60
XClock*x: 0
XClock*y: 0