-
Notifications
You must be signed in to change notification settings - Fork 43
/
.Xresources
265 lines (239 loc) · 8.74 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
! --- Xft {{{1
! -----------------------------------------------------------------------------
! Make sure these settings are loaded correct with xrdb -q
! Make sure these same settings are also present in
! ~/.fonts.conf and ~/.xsettingsd
!
! fontconfig should be able to detect DPI. Only override if monitor reports bad
! info. Check using xdpyinfo | grep resolution
! Xft*dpi: 96
Xft.autohint: false
Xft*antialias: true
Xft*hinting: true
! font-dependant. also try hintslight, hintfull, hintmedium, or hintnone.
Xft*hintstyle: hintslight
! set to vrgb for subpixel hinting on LCDs, or none on CRTs
! Choices: none, rgb, bgr, vrgb, vbgr
Xft*rgba: rgb
! Choices: lcdnone, lcddefault, lcdlight, lcdlegacy
Xft.lcdfilter: lcddefault
!Xft.embolden: true
! --- Xcursor {{{1
! -----------------------------------------------------------------------------
Xcursor.theme: ComixCursors-Orange-Regular-Slim
Xcursor.size: 16
! --- xterm {{{1
! -----------------------------------------------------------------------------
! -- Basic settings, colors, & visuals (also fix too-dark blue)
xterm*loginShell: true
xterm*scrollBar: false
xterm*background: grey9
xterm*foreground: white
xterm*cursorColor: red
xterm*cursorBlink: true
xterm*color4: DodgerBlue1
xterm*color12: SteelBlue1
xterm*dynamicColors: true
! Use screen/tmux scrollback instead:
xterm*saveLines: 100
! -- Allow utf8 in/out
xterm*utf8: 2
xterm*eightBitInput: true
xtere*eightBitControl: false
xterm*eightBitOutput: true
! -- Enables True-Type rendering:
xterm*renderFont: true
xterm*faceName: DejaVu Sans Mono
xterm*wideChars: true
! -- Define the size increments used when changing font size
xterm*faceSize: 10
xterm*faceSize1: 6
xterm*faceSize2: 8
xterm*faceSize3: 12
xterm*faceSize4: 16
xterm*faceSize5: 20
xterm*faceSize6: 24
! -- Scroll multiple lines at a time for faster redrawing:
xterm*jumpScroll: true
xterm*multiScroll: true
! -- trim whitespace from selection before copying
xterm*trimSelection: true
! -- Hold Shift to use CLIPBOARD instead of PRIMARY to copy or paste
! Change font size with ctrl-+/-/= (or mousewheel).
! Add a few alt- shortcuts for quick access to special characters
! Reminder: ~ means 'not pressed'
xterm*vt100.Translations: #override \n\
Shift Ctrl <Key> v: insert-selection(CLIPBOARD, CUT_BUFFER1) \n\
~Shift ~Ctrl <Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1) \n\
~Shift ~Ctrl <BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) \n\
Shift Ctrl <Key> =: larger-vt-font() \n\
Shift Ctrl <Key> -: smaller-vt-font() \n\
Shift Ctrl <Key> 0: set-vt-font(d) \n\
Ctrl <Btn4Down>: larger-vt-font() \n\
Ctrl <Btn5Down>: smaller-vt-font() \n\
Meta ~Shift <Key> bracketleft: string("‘") \n\
Meta ~Shift <Key> bracketright: string("’") \n\
Meta Shift <Key> bracketleft: string("“") \n\
Meta Shift <Key> bracketright: string("”") \n\
Meta ~Shift <Key> period: string("…") \n\
Meta ~Shift <Key> -: string("—") \n\
Meta Shift <Key> -: string("–") \n\
Meta ~Shift <Key> exclam: string("¡") \n\
Meta ~Shift <Key> question: string("¿") \n\
Meta ~Shift <Key> 0: string("ʘ") \n\
Meta ~Shift <Key> o: string("°") \n\
Meta ~Shift <Key> t: string("™") \n\
Meta ~Shift <Key> c: string("©") \n\
Meta ~Shift <Key> x: string("×") \n\
Meta ~Shift <Key> d: string("ಠ")
! Matches URLs and emails and selects them on double-click
xterm*charClass: 33:48,37-38:48,45-47:48,64:48,58:48,126:48,61:48,63:48,43:48,35:48
! map the tab key to escape in xterm (becase we can!)
! xterm.vt100.translations: #override\n\
! <Key>Tab: string("\033")\n\
! Enable OSC 52 so xterm can set system clipboard contents.
xterm*disallowedWindowOps: 20,21,SetXprop
! --- xmessage {{{1
! -----------------------------------------------------------------------------
xmessage*form.okay.shapeStyle: rectangle
xmessage*form.okay.background: IndianRed
xmessage*form.okay.foreground: rgb:e/b/b
xmessage*message*background: ivory3
xmessage*background: gray85
xmessage*foreground: gray15
xmessage*Scrollbar.width: 10
xmessage*Scrollbar.borderWidth: 1
xmessage*Text.?.cursorColor: rgb:d/5/5
xmessage*Text.borderColor: gray65
xmessage*Text*background: gray95
xmessage*Command.highlightThickness: 1
xmessage*Command.internalWidth: 5
xmessage*Command.internalHeight: 3
xmessage*Command.borderColor: gray40
xmessage*Command.shapeStyle: Rectangle
xmessage*Command.background: gray80
xmessage*faceName: DejaVu Sans Mono
xmessage*faceSize: 12
xmessage*message.scrollVertical: Always
xmessage*message.scrollHorizontal: Never
! add keyboard shortcuts to easily quit program
xmessage*baseTranslations:#augment\
<Key>Return:exit()\n\
<Key>space:exit()
! --- xmag {{{1
! -----------------------------------------------------------------------------
xmag*source: 100x100
xmag*Command.background: gray85
xmag*Command.foreground: gray15
xmag*Label.foreground: rgb:e/b/b
xmag*Label.background: IndianRed
xmag*paste.background: ivory3
xmag*helpLabel.background: gray80
xmag*helpLabel.foreground: gray40
! opens the window at the bottom right
xmag*geometry: -0-0
! automatically show the hex color and set up some keyboard shortcuts
xmag*Scale.baseTranslations:#augment\
<EnterWindow>:popup-pixel()\n\
<Motion>:update-pixel()\n\
<Key>q:close()\n\
Ctrl<Key>c:close()\n\
<Key>space:replace()
! The RGB values are each 16-bit hexadecimal and can be converted to the more
! common 24-bit hexadecimal color via (bash or zsh printf, not posix):
! printf '%d / 256\n%d / 256\n%d / 256\n' "16#${r}" "16#${g}" "16#${b}" \
! | bc | xargs -n3 printf '#%02x%02x%02x\n'
! --- xcalc {{{1
! -----------------------------------------------------------------------------
xcalc*ti.button1.vertDistance: 4
xcalc*ti.button2.vertDistance: 4
xcalc*ti.button3.vertDistance: 4
xcalc*ti.button4.vertDistance: 4
xcalc*ti.button5.vertDistance: 4
xcalc*ti.background: gray90
xcalc*ti.bevel.borderColor: gray65
xcalc*ti.bevel.borderWidth: 1
xcalc*ti.bevel.vertDistance: 4
xcalc*ti.bevel.defaultDistance: 0
xcalc*ti.bevel.background: rgb:b/c/b
xcalc*ti.bevel.screen*background: rgb:b/c/b
xcalc*ti.bevel.screen.borderColor: rgb:b/c/b
xcalc*ti.bevel.screen.vertDistance: 10
xcalc*ti.bevel.screen.horizDistance: 10
xcalc*ti.bevel.screen*left: chainLeft
xcalc*ti.bevel.screen*right: chainRight
xcalc*ti.bevel.screen*top: chainTop
xcalc*ti.bevel.screen*bottom: chainBottom
xcalc*ti.bevel.screen*LCD.foreground: gray10
xcalc*ti.bevel.screen*INV.vertDistance: 0
xcalc*ti.Command.borderColor: gray65
xcalc*ti.Command.background: gray85
xcalc*ti.Command.foreground: gray30
xcalc*ti.button5.background: rgb:e/b/b
xcalc*ti.button20.background: rgb:e/d/c
xcalc*ti.button25.background: rgb:e/d/c
xcalc*ti.button30.background: rgb:e/d/c
xcalc*ti.button35.background: rgb:e/d/c
xcalc*ti.button40.background: rgb:b/b/e
xcalc*ti.button22.background: gray95
xcalc*ti.button23.background: gray95
xcalc*ti.button24.background: gray95
xcalc*ti.button27.background: gray95
xcalc*ti.button28.background: gray95
xcalc*ti.button29.background: gray95
xcalc*ti.button32.background: gray95
xcalc*ti.button33.background: gray95
xcalc*ti.button34.background: gray95
xcalc*ti.button37.background: gray95
xcalc*ti.button38.background: gray95
xcalc*ti.button39.background: gray95
! --- xpdf {{{1
! -----------------------------------------------------------------------------
xpdf*initialZoom: page
xpdf*urlCommand: firefox %s
xpdf*textEncoding: utf-8
xpdf*enableFreetype: yes
xpdf*antialias: yes
xpdf*viKeys: on
! --- gv {{{1
! -----------------------------------------------------------------------------
gv*antialias: true
! --- xman {{{1
! -----------------------------------------------------------------------------
xman*topBox: false
xman*background: SlateGray
xman*foreground: Linen
! --- xload {{{1
! -----------------------------------------------------------------------------
xload*update: 1
xload*highlight: grey50
xload*borderWidth: 1
xload*background: #ceccc7
xload*padding: 3
! --- xclock {{{1
! -----------------------------------------------------------------------------
xclock*analog: false
xclock*brief: true
xclock*foreground: white
xclock*background: black
! --- xscreensaver {{{1
xscreensaver.timeout: 0:04:00
xscreensaver.cycle: 0:10:00
xscreensaver.fade: False
xscreensaver.unfade: False
xscreensaver.lock: True
xscreensaver.lockTimeout: 0:04:00
xscreensaver.passwdTimeout: 0:00:30
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsStandby: 0:06:00
xscreensaver.dpmsSuspend: 0:10:00
xscreensaver.dpmsOff: 0:12:00
xscreensaver.mode: blank
! --- xdm {{{1
! -----------------------------------------------------------------------------
! The default xdm screen is beautiful. Empty your /etc/X11/xdm/Xresources.
xlogin*greeting: Welcome to Fhloston Paradise
xlogin*allowRootLogin: false
xlogin*allowNullPasswd: false
! --- Color scheme {{{1
! #include ".Xresources-colors-muted"