forked from whiteinge/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Xresources
286 lines (258 loc) · 9.71 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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
! The best, goddamn Xresources file in the whole world.
! Author: Seth House <[email protected]>
! -----------------------------------------------------------------------------
! --- Xft {{{1
! -----------------------------------------------------------------------------
! calculate dpi with xdpyinfo | grep resolution
Xft*dpi: 96
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
Xft*rgba: rgb
! Choices: lcdnone, lcddefault, lcdlight, lcdlegacy
!Xft.lcdfilter: lcddefault
!Xft.embolden: true
! --- Xcursor {{{1
! -----------------------------------------------------------------------------
Xcursor.theme: ComixCursors-Orange-Regular-Slim
! --- 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*cursorUnderline: true
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: DejaVuSansMono
xterm*faceNameDoublesize: DejaVuSansMono
xterm*wideChars: true
xterm*wideFont: DejaVuSansMono
! -- 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
xterm*vt100.Translations: #override \n\
~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0) \n\
Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1) \n\
~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0) \n\
Shift<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\
! --- 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: DejaVuSansMono
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()
! --- 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
!font settings
xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
!general dialog box (affects main hostname, username, password text)
xscreensaver.Dialog.foreground: #ffffff
xscreensaver.Dialog.background: #111111
xscreensaver.Dialog.topShadowColor: #111111
xscreensaver.Dialog.bottomShadowColor: #111111
xscreensaver.Dialog.Button.foreground: #666666
xscreensaver.Dialog.Button.background: #ffffff
!username/password input box and date text colour
xscreensaver.Dialog.text.foreground: #666666
xscreensaver.Dialog.text.background: #ffffff
xscreensaver.Dialog.internalBorderWidth:24
xscreensaver.Dialog.borderWidth: 20
xscreensaver.Dialog.shadowThickness: 2
!timeout bar (background is actually determined by Dialog.text.background)
xscreensaver.passwd.thermometer.foreground: #ff0000
xscreensaver.passwd.thermometer.background: #000000
xscreensaver.passwd.thermometer.width: 8
!datestamp format--see the strftime(3) manual page for details
xscreensaver.dateFormat: %I:%M%P %a %b %d, %Y
!
xscreensaver.timeout: 5
xscreensaver.timeout: 0:10:00
xscreensaver.cycle: 0:10:00
xscreensaver.lock: True
xscreensaver.lockTimeout: 0:05:00
xscreensaver.passwdTimeout: 0:00:30
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsStandby: 0:10:00
xscreensaver.dpmsSuspend: 0:15:00
xscreensaver.dpmsOff: 0:20: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"