summaryrefslogtreecommitdiffstats
path: root/Xresources_openbsd
blob: 9c3ae8c8494ec4d00c741e4e2478b3e0e67b2881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Xft.dpi: 192
!Xft.dpi: 96
Xft.autohint  : 0
Xft.lcdfilter : lcddefault
Xft.hintstyle : hintslight
Xft.hinting   : 1
Xft.antialias : 1
Xft.rgba      : rgb

! from https://www.c0ffee.net/blog/openbsd-on-a-laptop/#x11
!XTerm*font         	: -misc-fixed-medium-r-semicondensed-*-32-*-*-*-*-*-iso10646-1
!xterm*font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
!xterm*faceName		: FiraCode-Medium:size=10
!xterm*faceName		: Fixed
!xterm*faceName: xft:monospace:pixelsize=15
!xterm*faceName		: DejaVu Sans mono:size=10
!xterm*faceName		: Hack-Regular:size=8
!xterm*faceName		: Terminus:size=10
xterm*faceName		: JetBrainsMono:size=10
XTerm*backarrowKey	: false
XTerm.vt100.backarrowKey: false
XTerm.ttyModes		: erase ^?
XTerm.vt100.locale	: true
XTerm*selectToClipboard	: true
XTerm*background	: #000000
XTerm*foreground	: #ffffff
!remove the additional black border
XTerm*borderWidth            : 0
XTerm*internalBorder         : 2
! set TERM env variable to use 256 colors
XTerm*termName               : xterm-256color
! make alt key work normally
XTerm*vt100.metaSendsEscape  : true
! save ~10,000 lines of scrollback
!XTerm*v100.saveLines         : 10240
! hide scrollbar
XTerm*vt100.scrollBar        : false
! terminal bell tells the window manager to raise urgent flag
XTerm*vt100.bellIsUrgent     : true
! no bold fonts - just use brighter colors
XTerm*allowBoldFonts         : true
! pressing a key automatically scrolls to the bottom
!XTerm*scrollKey              : true
! dont allow terminal to go fullscreen
XTerm*fullscreen             : never
! clicking a line selects only from the current word forward
XTerm*cutToBeginningOfLine   : false
! and dont include a trailing newline in the selection!
XTerm*cutNewline             : false
! some black magic to change what characters XTerm considers "word delimiters"
XTerm*charClass              : 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! select word on two clicks
XTerm*on2Clicks              : word
! select whole line on three clicks
XTerm*on3Clicks              : line
! shift + left click to open selection in web browser
!XTerm*VT100*Translations     : #override Shift : exec-formatted("chrome --enable-unveil '%t'", PRIMARY)