-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathXdefaults
292 lines (257 loc) · 8.65 KB
/
Xdefaults
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
! Author: Gustavo Yokoyama Ribeiro
! Update: 20181129 13:28:16
! (C) Copyright 2010 Gustavo Yokoyama Ribeiro
! Licensed under CreativeCommons Attribution-ShareAlike 3.0 Unsupported
! http://creativecommons.org/licenses/by-sa/3.0/ for more info.
!xrdb -merge ~/.gyr.d/dotfiles/Xdefaults
!xrdb -load ~/.gyr.d/dotfiles/Xdefaults
!Query resources
!xrdb -query | grep
!Reload .Xdefaults
!xrdb -override ~/.gyr.d/dotfiles/Xdefaults
#ifndef HOME
#define HOME /home/gyr
#endif
*international: true
! SUSE
!#define d_black #231f20
#define d_black #001620
#define d_red #ff0000
#define d_green #63c94a
#define d_yellow #f78d1f
#define d_blue #3158af
#define d_magenta #d6058d
#define d_cyan #26b7b0
#define d_white #dedede
#define l_black #a7a6a6
#define l_red #ee551c
#define l_green #b3e763
#define l_yellow #fbe17e
#define l_blue #35bee8
#define l_magenta #f899d1
#define l_cyan #66cdda
#define l_white #ffffff
#define s_highlight #33b87e
*background: d_black
*foreground: l_white
*cursorColor: d_green
*cursorColor2: d_black
*highlightTextColor: l_white
*highlightColor: s_highlight
*highlightColorMode: true
*highlightReverse: false
*color0: d_black
*color1: d_red
*color2: d_green
*color3: d_yellow
*color4: d_blue
*color5: d_magenta
*color6: d_cyan
*color7: d_white
*color8: l_black
*color9: l_red
*color10: l_green
*color11: l_yellow
*color12: l_blue
*color13: l_magenta
*color14: l_cyan
*color15: l_white
!--------------------------------------------------------------------
!*customization: -color
!/etc/X11/rgb.txt
! GYR
!#define S_black black
!#define S_darkred red3
!#define S_darkgreen green4
!#define S_darkyellow yellow3
!#define S_darkblue royalblue
!#define S_violet magenta3
!#define S_turquoise cyan4
!#define S_gray lightgray
!
!#define S_darkgray darkgray
!#define S_red red
!#define S_green green1
!#define S_yellow yellow
!#define S_blue skyblue1
!#define S_magenta magenta1
!#define S_cyan cyan
!#define S_white white
!
!#define S_orange orange
!
!*background: S_black
!*foreground: S_white
!*cursorColor: S_green
!*cursorColor2: S_black
!*highlightTextColor: S_black
!*highlightColor: S_darkgray
!
!*highlightColorMode: true
!*highlightReverse: false
!
!*color0: S_black
!*color1: S_darkred
!*color2: S_darkgreen
!*color3: S_darkyellow
!*color4: S_darkblue
!*color5: S_violet
!*color6: S_turquoise
!*color7: S_gray
!*color8: S_darkgray
!*color9: S_red
!*color10: S_green
!*color11: S_yellow
!*color12: S_blue
!*color13: S_magenta
!*color14: S_cyan
!*color15: S_white
!!!*StringConversionWarnings: on
*saveLines: 10000
*scrollBar: false
!!!*backarrowKey: true
!!!*backarrowKeyIsErase: true
! add "!#%+-./~" to charClass (word selection at doubleclick)
*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,126:48
! ! # % + -./ @ ~
! make xterm treats URLs as a single word:
!XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! xterm ----------------------------------------------------------------------
xterm*termName: xterm-256color
*termtype: vt100
*VT100.Translations: #override \n \
Ctrl <Key>F1: string("\033[1;5P") \n \
<Key>BackSpace: string(0x7F) \n \
Ctrl <KeyPress>Left: string("\033[90~") \n \
Ctrl <KeyPress>Right: string("\033[91~") \n \
Ctrl <KeyPress>Up: string("\033[92~") \n \
Ctrl <KeyPress>Down: string("\033[93~") \n \
Shift <Key>Left: string("\033[1;2D") \n \
Shift <Key>Right: string("\033[1;2C") \n \
Shift <Key>Up: scroll-back(1,line) \n \
Shift <Key>Down: scroll-forw(1,line) \n \
Shift <Key>Return: string("\033[24$") \n \
Ctrl <Key>Tab: string(0x1b) string("[rC;TAB~")
! Ctrl <Key>BackSpace: string(0x1b) string("[rC;BS~")
!*VT100*translations: #override \n\
! Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1) \n\
! Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1)
! makes xterm run x-www-browser on the selection when it receives Alt + left click. (Adjust for whatever your Meta key is.)
!*VT100*translations: #override Meta <Btn1Up>: exec-formatted("x-www-browser '%t'", PRIMARY)
! run 'xfontsel'
!xterm*faceName: terminus:medium:pixelsize=12
!*font: -xos4-terminus-*-*-*-*-*-*-*-*-*-*-*-*
xterm*faceName: inconsolata:medium:pixelsize=12
!!*wideChars: false
!xterm*boldMode: False
!xterm*alwaysBoldMode: False
!xterm*boldColors: False
!xterm*colorBDMode: true
!xterm*colorBD: white
!xterm*dynamicColors: true
XTerm*bellIsUrgent: true
*borderWidth: 0
*metaSendsEscape: true
! Xft ------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintlight
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
! rxvt-unicode ---------------------------------------------------------------
urxvt*VT100.Translations: #override \n \
Shift <Key>Space: string("\033[23$")
! man 7 urxvt
URxvt.colorBD: green
URxvt.colorUL: green
URxvt.colorIT: green
!URxvt*termName: rxvt-unicode
!URxvt*termName: xterm-256color
URxvt.depth: 32
URxvt*font: xft:Source Code Pro:size=10:antialias=true:hinting=true
URxvt*boldFont: xft:Source Code Pro:size=10:antialias=true:hinting=true
URxvt*italicFont: xft:Source Code Pro:style=Oblique:size=10:antialias=true:hinting=true
URxvt*boldItalicFont: xft:Source Code Pro:style=Bold Oblique:size=10:antialias=true:hinting=true
! Font spacing
URxvt*letterSpace: -2
! http://git.ak-online.be/kandre/xsession/tree
URxvt.iso14755: False
URxvt*buffered: true
! -- also: set 'vbell on' in screen
! -- set 'bell_msg' "\a in window!"
URxvt*urgentOnBell: True
URxvt.mapAlert: True
URxvt*tripleclickwords: True
URxvt.loginShell: False
URxvt.pastableTabs: False
URxvt.utmpInhibit: True
URxvt.scrollstyle: plain
! do not scroll with output
URxvt*scrollTtyOutput: False
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: True
URxvt.jumpScroll: True
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: True
URxvt.mouseWheelScrollPage: True
URxvt*skipBuiltinGlyphs: True
URxvt.cursorBlink: True
URxvt.intensityStyles: False
! borderless and no scrollbar
URxvt*scrollBar_right: false
URxvt*scrollBar: false
URxvt*borderLess: false
! the transparency stuff
!!URxvt*inheritPixmap: true
!URxvt*transparent: True
URxvt*tintColor: black
!URxvt*shading: 20
!URxvt*fading: 30
!!URxvt*cursorUnderline: True
! Extensions
URxvt*perl-lib: /usr/lib64/urxvt/perl/
URxvt.perl-ext-common: default,url-select,tabbed,searchable-scrollback,selection-autotransform
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.launcher: /usr/bin/xdg-open
URxvt.url-select.underline: true
URxvt.tabbed.tabbar-fg: 0
URxvt.tabbed.tabbar-bg: 10
URxvt.tabbed.tab-fg: 10
URxvt.tabbed.tab-bg: 0
URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vim +$2 \\Q$1\\E\\x0d/
!bell-command
!URxvt*bell-command: notify-send "Beep, Beep"
URxvt.keysym.M-C-1: command:\033]50;-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*\007
URxvt.keysym.M-C-2: command:\033]50;-*-terminus-*-*-*-*-14-*-*-*-*-*-*-*\007
URxvt.keysym.M-C-3: command:\033]50;-*-terminus-*-*-*-*-18-*-*-*-*-*-*-*\007
URxvt.keysym.C-Up: command:\033]720;1\007
URxvt.keysym.C-Down: command:\033]721;1\007
!URxvt.keysym.Shift-Up: command:\033]720;1\007
!URxvt.keysym.Shift-Down: command:\033]721;1\007
!URxvt.keysym.KP_Up: ^[[A
!URxvt.keysym.KP_Right: ^[[C
!URxvt.keysym.KP_Left: ^[[D
!URxvt.keysym.KP_Down: ^[[B
!URxvt.keysym.KP_Insert: ^[[2~
!URxvt.keysym.KP_Delete: ^[[3~
!URxvt.keysym.KP_Add: +
!URxvt.keysym.KP_Subtract: -
!URxvt.keysym.KP_Multiply: *
!URxvt.keysym.KP_Divide: /
!URxvt.keysym.KP_Enter: ^M
!! map shift-space with Shift-F11, for Vim.
!! http://vim.wikia.com/wiki/Avoid_the_escape_key
URxvt.keysym.S-space: \033[23$
URxvt.keysym.S-Return: \033[24$
URxvt.keysym.Control-Tab: \033[rC;TAB~
!URxvt.keysym.Control-BackSpace: \033[rC;BS~
! icon path
URxvt.iconFile: /usr/share/pixmaps/urxvt.xpm
! Highlight mark ends at the last character of each line
*highlightSelection: true
irssi*urgentOnBell: True
weechat*urgentOnBell: True
Weechat.iconFile: /usr/share/pixmaps/weechat.xpm
Mutt.iconFile: /usr/share/pixmaps/mutt.xpm
! vim: set filetype=xdefaults fileformat=unix