110 lines
2.8 KiB
Text
110 lines
2.8 KiB
Text
! ~/.Xresources
|
|
|
|
! terminal font
|
|
xterm*utf8: 2
|
|
xterm*eightBitInput: false
|
|
xterm*faceName: DejaVu Sans Mono:style=Book
|
|
xterm*faceSize: 12
|
|
xterm*faceSize1: 6
|
|
xterm*faceSize2: 8
|
|
xterm*faceSize3: 10
|
|
xterm*faceSize4: 12
|
|
xterm*faceSize5: 16
|
|
xterm*faceSize6: 22
|
|
xterm*faceSize7: 32
|
|
xterm*vt100*geometry: 80x24
|
|
xterm*vt100*scaleHeight: 1.01
|
|
|
|
! popup menu font
|
|
xterm*font: -*-dejavu sans-medium-r-*-*-*-*-*-*-*-*-*
|
|
|
|
! fontconfig may override these
|
|
Xft.antialias: 1
|
|
Xft.autohint: 0
|
|
Xft.embeddedbitmap: 0
|
|
Xft.hinting: 1
|
|
Xft.hintstyle: hintslight
|
|
Xft.lcdfilter: lcddefault
|
|
Xft.rgba: rgb
|
|
Xft.smoothing: grayscale
|
|
|
|
! various
|
|
xterm.termName: xterm-256color
|
|
xterm*forceBoxChars: true
|
|
xterm*selectToClipboard: true
|
|
xterm*cursorBlink: false
|
|
xterm*cursorColor: rgb:8a/e2/34
|
|
xterm*toolBar: false
|
|
xterm*fullscreen: never
|
|
xterm*loginShell: true
|
|
|
|
! scrollbar
|
|
xterm*rightScrollBar: true
|
|
xterm*scrollBar: true
|
|
xterm*scrollKey: true
|
|
xterm*saveLines: 16384
|
|
xterm*scrollTtyOutput: false
|
|
xterm*vt100*scrollBar*width: 8
|
|
|
|
! Fix Alt and Ctrl+H
|
|
xterm*vt100*metaSendsEscape: true
|
|
xterm*vt100*backarrowKey: false
|
|
xterm*ttyModes: erase ^?
|
|
|
|
! double-click to select whole URLs
|
|
! https://lukas.zapletalovi.com/2013/07/hidden-gems-of-xterm.html
|
|
xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
|
|
|
|
! keyboard shortcuts
|
|
xterm*vt100.translations: #override \n\
|
|
Shift <Key>Home: scroll-forw(10000000000) \n\
|
|
Shift <Key>End: scroll-back(10000000000) \n\
|
|
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
|
|
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
|
|
Ctrl <Key> minus: smaller-vt-font() \n\
|
|
Ctrl <Key> plus: larger-vt-font() \n\
|
|
Ctrl <Key> 0: set-vt-font(d) \n\
|
|
<Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\
|
|
<Btn2Up>: insert-selection(PRIMARY)
|
|
|
|
! Shift-Home Top of scrollback
|
|
! Shift-End End of scrollback
|
|
! Ctrl-Shift-c Copy
|
|
! Ctrl-Shift-v Paste
|
|
! Ctrl-minus Decrease font
|
|
! Ctrl-plus Increase font
|
|
! Ctrl-zero Default font
|
|
! <Left mouse up-after-select copies to all buffers>
|
|
! <Middle mouse up-on-click inserts primary buffer>
|
|
|
|
! white on black
|
|
xterm*foreground: rgb:ff/ff/ff
|
|
xterm*background: rgb:00/00/00
|
|
xterm*dynamicColors: true
|
|
|
|
! Tango color scheme from mate-terminal adaptation
|
|
! https://en.wikipedia.org/wiki/Tango_Desktop_Project
|
|
! - Aluminium -
|
|
xterm*color0: rgb:00/00/00
|
|
xterm*color8: rgb:55/57/53
|
|
! - Scarlet Red -
|
|
xterm*color1: rgb:cc/00/00
|
|
xterm*color9: rgb:ef/29/29
|
|
! - Chameleon -
|
|
xterm*color2: rgb:4e/9a/06
|
|
xterm*color10: rgb:8a/e2/34
|
|
! - Butter -
|
|
xterm*color3: rgb:c4/a0/00
|
|
xterm*color11: rgb:fc/e9/4f
|
|
! - Sky Blue -
|
|
xterm*color4: rgb:34/65/a4
|
|
xterm*color12: rgb:72/9f/cf
|
|
! - Plum -
|
|
xterm*color5: rgb:75/50/7b
|
|
xterm*color13: rgb:ad/7f/a8
|
|
! - Cyan -
|
|
xterm*color6: rgb:06/98/9a
|
|
xterm*color14: rgb:34/e2/e2
|
|
! - Aluminium 2 -
|
|
xterm*color7: rgb:d3/d7/cf
|
|
xterm*color15: rgb:ee/ee/ec
|