-
Notifications
You must be signed in to change notification settings - Fork 6
/
.Xresources
48 lines (44 loc) · 1.05 KB
/
.Xresources
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
! to enable any changes to this configuration:
! xrdb -merge ~/.Xresources
!
! If running gdm you may need to enable pre-processing for the conditional
! defines below to work.
! In that case, remove `-nocpp` from the following inside `/etc/gdm/Xsession`
!
! ```
! if [ -f "$userresources" ]; then
! xrdb -nocpp -merge "$userresources"
! fi
! 111
! Set front to truetype as the bitmap-based default fonts are dumb and
! tiny on high-DPI displays. Also wtf who wants bitmapped fonts
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 8
XTerm*renderFont: true
XTerm*eightBitInput: true
!
! Reverse to white-on-black color scheme
XTerm*reverseVideo: on
!
! Hi-DPI handling
!
#ifdef SRVR_csplt
#define ANTIALIAS 1
#define AUTOHINT 0
#define CURSORSIZE 32
#define DPI 90
#define HINTING 1
#define HINTSTYLE hintfull
#define LCDFILTER lcddefault
#define RGBA rgb
#endif
Xcursor.size: CURSORSIZE
Xft.antialias: ANTIALIAS
Xft.autohint: AUTOHINT
Xft.dpi: DPI
Xft.hinting: HINTING
Xft.hintstyle: HINTSTYLE
Xft.lcdfilter: LCDFILTER
Xft.rgba: RGBA
! Rofi
rofi.dpi: DPI