-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXdefaults
More file actions
335 lines (315 loc) · 12.6 KB
/
Xdefaults
File metadata and controls
335 lines (315 loc) · 12.6 KB
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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
! .Xdefaults
!
! Author: David Pequegnot
! Contact: david.pequegnot@gmail.com
!! Xft configuration
!{{{ Begin - Xft
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
!}}} End - Xft
!! Rxvt configuration
! The configuration is based on the .Xdefault of
! Guillaume Bouffard (Stroumph):
! https://github.com/Stroumph
!{{{ Begin - Rxvt
!>>--------------------------------------------------------------
! Environment parameters
!------------------------
!!
! Specifies the terminal type name to be set in the TERM
! environment. The value rxvt-256color enables the 256 color
! support in URxvt but is not compliant with ssh sessions.
!URxvt.termName: rxvt-unicode
URxvt.termName: rxvt-256color
!!
! The locale to use for opening the IM.
URxvt*imLocale: en_GB.UTF-8
!<<--Environment parameters--------------------------------------
!>>--------------------------------------------------------------
! Global behaviour parameters
!------------------------
!!
! Saves 65535 lines in the scrollback buffer
URxvt.saveLines: 65535
!!
! Start as a login shell by prepending a '-' to argv[0]
! of the shell
URxvt.loginShell: true
!<<--Global behavior parameters----------------------------------
!>>--------------------------------------------------------------
! Scrollbar parameters
!------------------------
!!
! Scroll to bottom when a non-special key is pressed. Special
! keys are those which are intercepted by rxvt-unicode for
! special handling and are not passed onto the shell
URxvt.scrollTtyKeypress: true
!!
! Do not scroll to bottom when tty receives output
URxvt.scrollTtyOutput: false
!!
! Disable the scrollbar
URxvt.scrollBar: false
!<<--Scrollbar parameters----------------------------------------
!>>--------------------------------------------------------------
! Terminal behaviour
!------------------------
!!
! The characters used as delimiters for double-click word
! selection (whitespace delimiting is added automatically)
! Using built-in instead of the custom one:
! BACKSLASH `"'&()*,;<=>?@[]^{|}
! The custome parameter has been kept for example
URxvt.cutchars: "()*,<>[]{}|"
!!
! Enables "insecure" mode. Rxvt-unicode offers some escape
! sequences that echo arbitrary strings like the icon name or
! the locale. This could be abused if somebody gets 8-bit-clean
! access to your display, whether through a mail client
! displaying mail bodies unfiltered or through write(1) or any
! other means.
URxvt.insecure: true
!<<--Terminal behaviour------------------------------------------
!>>--------------------------------------------------------------
! Perl extension scripts
!------------------------
!!
! The urxvt perl lib path.
URxvt*perl-lib: /usr/lib/urxvt/perl/
!!
! List of perl extension scripts to use in the terminal instance.
! The default, url-select and keyboard-select scripts are enabled.
URxvt.perl-ext: default,url-select,keyboard-select
!<<--Perl extension scripts--------------------------------------
!**--------------------------------------------------------------
! url-select perl extension script
!------------------------
!!
! Browser to launch when selecting an url.
URxvt.urlLauncher: google-chrome
!!
! In addition to the url-select perl extension.
! The keysym M-u will select the next url in the terminal.
URxvt.keysym.M-u: perl:url-select:select_next
!!
! Underline urls.
URxvt.underlineURLs: true
!!
! Define the pattern to match to be considered as an url
! (mailto, http, https, ftp, file and www)
URxvt*matcher.pattern.1: \\b(mailto|http|https|ftp|file):[/]*[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt*matcher.pattern.2: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
! The middle-click button will be used to launch the
! browser.
urxvt*matcher.button: 1
!**--url-select--------------------------------------------------
!**--------------------------------------------------------------
! keyboard-select perl extension script
!------------------------
!!
! Activate the keyboard-select mode using the M-Escape shortcut.
URxvt.keysym.M-Escape: perl:keyboard-select:activate
!!
! Activate the keyboard-select mode directly in backward search
! mode.
URxvt.keysym.M-s: perl:keyboard-select:search
!**--keyboard-select---------------------------------------------
!>>--------------------------------------------------------------
! MISC
!------------------------
!!
! Specify the command pipe for vt100 printer (lpr by default).
! Use Print to initiate a screen dump to the printer and
! Ctrl-Print or Shift-Print to include the scrollback as well.
! The string will be interpreted as if typed into the shell
! as-is.
URxvt.print-pipe: cat > $(echo urxvt.dump.$(date +%d.%m.%Y_%H.%M.%S))
!!
! Secondary screen support.
URxvt.secondaryScreen: true
!!
! Turn on secondary screen scroll. Scrolls on the secondary screen
! will change the scrollback buffer.
URxvt.secondaryScroll: true
!!
! De-iconify (map) on receipt of a bell character.
URxvt.mapAlert: true
!!
! Set the urgency hint for the wm on receipt of a bell character.
URxvt.urgentOnBell: true
!!
! Do not use visual bell on receipt of a bell character.
! Enabling this option will display a white screen for an instant
! on receipt of a bell character.
URxvt.visualBell: false
!!
! Inhibit writing record into the system log file utmp.
URxvt.utmpInhibit: true
!<<--MISC--------------------------------------------------------
!>>--------------------------------------------------------------
! Terminal appearance
!------------------------
!!
! Set MWM hints to request a borderless window, i.e. if honoured
! by the WM, the rxvt-unicode window will not have window
! decorations.
! This option seems to cause difficulties in my WM (awesome).
!URxvt*borderLess: true
!!
! Internal border of 1 pixel.
URxvt*internalBorder: 1
!!
! Turn on double-buffering for xft.
URxvt.buffered: true
!<<--Terminal appearance-----------------------------------------
!>>--------------------------------------------------------------
! Terminal theme
!------------------------
! The theme comes from the Adrian C. (anrxc)
! http://sysphere.org/~anrxc/j/articles/zenburn/index.html
! It is named zenburn.
!------------------------
!!
! Cursor color.
URxvt*cursorColor: #DCDCCC
!!
! URLs color.
URxvt*.colorUL: #ffffff
!!
! Terminal background.
URxvt*background: #3f3f3f
!!
! Terminal foreground.
URxvt*foreground: #dcdccc
!!
! Terminal font.
! It is the inconsolata-g font well-designed for developers:
! http://leonardo-m.livejournal.com/77079.html
! Making the font smaller can cause some troubles.
URxvt.font: xft:Inconsolata:size=9:antialias=true
!!
! URxvt colors definitions (in order to display folders etc.)
! black + red
URxvt*color0: #1E2320
URxvt*color1: #705050
! green + yellow
URxvt*color2: #60b48a
URxvt*color3: #dfaf8f
! blue + purple
URxvt*color4: #506070
URxvt*color5: #dc8cc3
! cyan + white
URxvt*color6: #8cd0d3
URxvt*color7: #dcdccc
! bright-black + bright-red
URxvt*color8: #709080
URxvt*color9: #dca3a3
! bright-green + bright-yellow
URxvt*color10: #c3bf9f
URxvt*color11: #f0dfaf
! bright-blue + bright-purple
URxvt*color12: #94bff3
URxvt*color13: #ec93d3
! bright-cyan + bright-white
URxvt*color14: #93e0e3
URxvt*color15: #ffffff
!<<--Terminal theme----------------------------------------------
!>>--------------------------------------------------------------
! Keysym
!------------------------
!!
! Because I had some problems with the End and Home keys I needed
! to add the following lines:
URxvt*keysym.Home: \033[1~
URxvt*keysym.End: \033[4~
!<<--Keysym------------------------------------------------------
!>>--------------------------------------------------------------
! Transparency parameters
!------------------------
!!
! Turn on pseudo-transparency by using the root pixmap as
! background
!URxvt.transparent: true
!!
! Tint the transparent background in white
!URxvt.tintColor: white
!!
! Attempt to find a visual with a 32 bits depth
!URxvt.depth: 32
!!
! Darken the transparent background
! A value between 0 and 99 darken the transparent background
! and a value between 101 and 200 lighten the transparent
! background. A value of 100 means no shading.
!URxvt.shading:30
!----------------------------------------------------------------
! Transparency parameters have been disabled because it is a
! pseudo transparency: the desktop background in just repeated
! in the terminal.
! Try xcompmgr instead.
!<<--Transparency parameters-------------------------------------
!}}} End - Rxvt
!! Xscreensaver lock dialog theme
! The current theming is based on the ArchLinux wiki:
! https://wiki.archlinux.org/index.php/X_resources#xscreensaver_theming
! Moreover, the global configuration is located in the
! .xscreensaver file.
!{{{ Begin - Xscreensaver
!>>--------------------------------------------------------------
! Global options
!------------------------
!!
! A splash screen is not displayed at startup.
xscreensaver.splash: false
!<<--Global options----------------------------------------------
!>>--------------------------------------------------------------
! 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-*-*-*-*-*-*-*
!<<--Font settings-----------------------------------------------
!>>--------------------------------------------------------------
! 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
!<<--General dialog box------------------------------------------
!>>--------------------------------------------------------------
! 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
!<<--Username/password input box and date text colour------------
!>>--------------------------------------------------------------
! 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
!------------------------
!!
!i.e. 22:13 Wed May 15, 2011
xscreensaver.dateFormat: %H:%M %a %B %d, %Y
!<<--Datestamp format--------------------------------------------
!}}} End - Xscreensaver