-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xresources
150 lines (135 loc) · 3.86 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
! ~/.Xresources
! vim:set foldmethod=expr foldexpr=getline(v\:lnum)=~'^!##'?'>1'\:'=':
! these settings are subject to taste and that the monitor is 15.6 inches diagonally
!## Xft settings / Font clarity settings
!Xft.antialias: true
!Xft.hintstyle: hintslight
Xft.rgba: rgb
#ifdef WIDTH
// HP Envy
#if (WIDTH == 1920)
Xft.dpi: 96
// HP Pavilion
#elif (WIDTH == 1366)
Xft.dpi: 100
// fallback
#else
Xft.dpi: 96
#endif
#else
#pragma message ( "Could not detect resolution for setting dpi" )
Xft.dpi: 96
#endif
URxvt*buffered: false
!## URxvt scripts
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,fullscreen,resize-font,theme-switch
! requires urxvt-resize-font-git (AUR)
! readme at /usr/share/doc/urxvt-resize-font-git/README.md
URxvt.resize-font.smaller: C-Down
URxvt.resize-font.bigger: C-Up
URxvt.resize-font.reset: C-equal
URxvt.resize-font.show: C-question
! requires urxvt-perls
URxvt.url-select.launcher: /usr/bin/xdg-open
URxvt.url-select.underline: true
! requires urxvt-theme-switch-git (AUR coming soon) - consider forking, the original dev was kindof an idiot
URxvt.color-themes.themedir: /home/henry/.config/urxvt/themes
URxvt.color-themes.preprocessor: /usr/bin/cpp
URxvt.keysym.S-Up: perl:color-themes:next
URxvt.keysym.S-Down: perl:color-themes:prev
!## URxvt (buildin settings)
! define meta key explicitly
URxvt.modifier: alt
Urxvt.letterSpace: -1
URxvt.iso14755: false
URxvt.iso14755_52: false
! disable scrollbar
URxvt.scrollBar: false
! Attempting to fix PowerLine fonts
URxvt.utf8: true
URxvt*skipBuiltinGlyphs: true
! fix bold colors being wrong
URxvt.intensityStyles: false
!## Gruvbox color scheme for the X Window System
! hard contrast: *background: #1d2021
*background: #282828
! soft contrast: *background: #32302f
*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
*color24: #076678
*color66: #427b58
*color88: #9d0006
*color96: #8f3f71
*color100: #79740e
*color108: #8ec07c
*color109: #83a598
*color130: #af3a03
*color136: #b57614
*color142: #b8bb26
*color167: #fb4934
*color175: #d3869b
*color208: #fe8019
*color214: #fabd2f
*color223: #ebdbb2
*color228: #f2e5bc
*color229: #fbf1c7
*color230: #f9f5d7
*color234: #1d2021
*color235: #282828
*color236: #32302f
*color237: #3c3836
*color239: #504945
*color241: #665c54
*color243: #7c6f64
*color244: #928374
*color245: #928374
*color246: #a89984
*color248: #bdae93
*color250: #d5c4a1
!## Font selection (URxvt)
#ifdef WIDTH
// HP Envy
#if (WIDTH == 1920)
#define URXVT_PIXELSIZE 14
// HP Pavilion
#elif (WIDTH == 1366)
#define URXVT_PIXELSIZE 11
// fallback
#else
#define URXVT_PIXELSIZE 12
#endif
#else
#pragma message ( "Could not detect resolution for Font selection (URxvt)" )
#endif
URxvt.font: xft:LiberationMono:style=Regular:pixelsize=URXVT_PIXELSIZE,\
xft:Unifont:style=Regular:pixelsize=URXVT_PIXELSIZE,\
xft:FontAwesome:pixelsize=URXVT_PIXELSIZE,\
xft:MaterialIcons:style=Regulate:pixelsize=URXVT_PIXELSIZE,\
xft:Wuncon Sigi:pixelsize=URXVT_PIXELSIZE,\
xft:FontAwesome:pixelsize=URXVT_PIXELSIZE
URxvt.boldFont: xft:LiberationMono:style=Bold:pixelsize=URXVT_PIXELSIZE
URxvt.italicFont: xft:LiberationMono:style=Italic:pixelsize=URXVT_PIXELSIZE
URxvt.boldItalicFont: xft:LiberationMono:style=Bold Italic:pixelsize=URXVT_PIXELSIZE