aboutsummaryrefslogtreecommitdiffstats
path: root/_Xresources
blob: f88b9bdae9948d77594ed9c9421ddefeea8ca6e9 (plain)
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
!----------------------------------------------------------
! ~/.Xresources
!
! Syntax:
! name.Class.resource: value
!
! References:
! [1] https://wiki.archlinux.org/index.php/X_resources

! Aaron LI <aaronly.me@outlook.com>
! Created: 2014-05-10
! Updated: 2017-02-06
!----------------------------------------------------------

!!! xft settings {{{
Xft.dpi:            96
Xft.antialias:      true
Xft.rgba:           rgb
Xft.hinting:        true
Xft.hintstyle:      hintmedium
!!! xft settings }}}

!!! rxvt-unicode (URxvt) {{{
!! urxvt background true transparent
! set to 32-bit for real transparency (compositing required [see xcompmgr])
! xdpyinfo | grep Composite
URxvt.depth:                32
! transparent=0000, opaque=ffff
URxvt.background:           rgba:1111/1111/1111/dddd
URxvt.foreground:           #f8f8f2
!
!! urxvt font settings
URxvt.font:                 xft:M+ 1mn:pixelsize=16,xft:WenQuanYi Zen Hei:pixelsize=14
!URxvt.font:                 xft:Terminus:size=12,xft:WenQuanYi Bitmap Song:size=10
!URxvt.font:                 xft:xos4 Terminus:size=12,xft:WenQuanYi WenQuanYi Bitmap Song:size=10
!URxvt.font:                 -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
URxvt.xftAntialias:         true
!
!! urxvt settings
!URxvt.termName:             rxvt-256color
!URxvt.title:                aly rxvt
URxvt.geometry:             92x26
URxvt.cursorBlink:          true
URxvt.underlineColor:       green
URxvt.buffered:             true
URxvt.jumpScroll:           false
URxvt.secondaryScroll:      true
URxvt.saveLines:            4000
URxvt.scrollBar:            true
URxvt.scrollBar_right:      true
URxvt.scrollstyle:          plain
URxvt.scrollTtyKeypress:    true
URxvt.scrollTtyOutput:      false
! scroll with scrollback buffer
URxvt.scrollWithBuffer:     true
!URxvt.scrollColor:          AntiqueWhite
!
!! urxvt keysym
! M: Meta   S; Shift   C: Control
! Mod4: Win
! \002: Control-B
! \015: Enter
!
!! urxvt perl extension settings
URxvt.perl-lib:             ~/.urxvt/ext/
URxvt.perl-ext-common:      default,tabbed,clipboard,keyboard-select,url-select
!! tabbed color
URxvt.tabbed.tabbar-fg:     5
URxvt.tabbed.tabbar-bg:     0
URxvt.tabbed.tab-fg:        14
URxvt.tabbed.tab-bg:        0
!! copy/paste
URxvt.keysym.Mod4-c:        perl:clipboard:copy
URxvt.keysym.Mod4-v:        perl:clipboard:paste
URxvt.keysym.Mod4-S-v:      perl:clipboard:paste_escaped
URxvt.clipboard.copycmd:    xclip -i -selection clipboard
URxvt.clipboard.pastecmd:   xclip -o -selection clipboard
!! keyboard-select
URxvt.keysym.Mod4-Escape:   perl:keyboard-select:activate
URxvt.keysym.Mod4-s:        perl:keyboard-select:search
!! url-select
URxvt.keysym.Mod4-u:        perl:url-select:select_next
URxvt.url-select.underline: true
URxvt.url-select.button:    1
URxvt.url-select.launcher:  firefox -new-tab
!
!! urxvt misc settings
!URxvt.loginShell:           true
URxvt.mapAlert:             true
URxvt.pointerBlank:         true
URxvt.urgentOnBell:         true
URxvt.utmpInhibit:          true
! preeditType: OverTheSpot, OffTheSpot, Root
URxvt.preeditType:          root
! reduce the distance between characters
!URxvt.letterSpace:          -1
URxvt.inputMethod:          fcitx
!!! rxvt-unicdoe settings }}}

!!! xterm settings {{{
!XTerm.geometry:             80x25
!XTerm.faceName:             xft:Dejavu Sans Mono:pixelsize=16:antialias=true
XTerm.faceName:             xft:Terminus:pixelsize=18
XTerm.dynamicColors:        true
XTerm.utf8:                 2
XTerm.eightBitInput:        true
XTerm.saveLines:            4000
XTerm.scrollTtyOutput:      false
XTerm.scrollKey:            true
XTerm.scrollBar:            true
XTerm.rightScrollBar:       true
!XTerm.loginShell:           true
XTerm.jumpScroll:           false
XTerm.multiScroll:          true
XTerm.toolBar:              true
!!! xterm settings }}}

!!! Xcursor {{{
! Vanilla-DMZ: white
! Vanilla-DMZ-AA: black
!Xcursor.theme:              Vanilla-DMZ-AA
Xcursor.theme:              Vanilla-DMZ
Xcursor.size:               32
!!! Xcursor }}}

!!! xscreensaver settings {{{
!! 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 strftime(3) manual page for details
xscreensaver.dateFormat:                    %I:%M%P %a %b %d, %Y
!! preferences
xscreensaver.mode:                          blank
xscreensaver.timeout:                       0:10:00
xscreensaver.cycle:                         0:10:00
xscreensaver.lock:                          True
xscreensaver.lockTimeout:                   0:01:00
xscreensaver.passwdTimeout:                 0:00:30
xscreensaver.dpmsEnabled:                   True
xscreensaver.dpmsQuickoff:                  True
xscreensaver.dpmsStandby:                   0:10:00
xscreensaver.dpmsSuspend:                   0:10:00
xscreensaver.dpmsOff:                       0:15:00
xscreensaver.fade:                          True
xscreensaver.unfade:                        False
xscreensaver.fadeSeconds:                   0:00:03
xscreensaver.fadeTicks:                     20
!! user switching from lock screen
! Lightdm: dm-tool switch-to-greeter
! LXDM:    lxdm -c USER_SWITCH
! GDM:     gdmflexiserver -ls
! KDM:     kdmctl reverse
xscreensaver.newLoginCommand:               dm-tool switch-to-greeter
!!! xscreensaver }}}

!!! rofi {{{
! Location on screen
!   1 2 3
!   8 0 4
!   7 6 5
rofi.location:          6
! Window width
rofi.width:             100
! Number of lines
rofi.lines:             10
! Y-offset relative to location
rofi.yoffset:           -22
! X-offset relative to location
rofi.xoffset:           0
! Padding
rofi.padding:           5
! Font to use
rofi.font:              M+ 1mn 11
! Separator style (none, dash, solid)
rofi.separator-style:   dash
! Hide scroll-bar
rofi.hide-scrollbar:    true
! Fake transparency
rofi.fake-transparency: true
! Use extended color scheme
rofi.color-enabled:     true
! Color scheme window
rofi.color-window:      argb:ee0F3B5F, #CC9752, #CC9752
! State                 background     fg       alt-bg         hl-bg    hl-fg
rofi.color-normal:      argb:00111111, #E5DBCF, argb:00111111, #CC9752, #0F3B5F
rofi.color-urgent:      argb:00111111, #af652f, argb:00111111, #af652f, #0F3B5F
rofi.color-active:      argb:00111111, #70a16c, argb:00111111, #70a16c, #0F3B5F
!!! rofi }}}

!! Emacs
Emacs.geometry:         86x34

! vim: set ts=8 sw=4 tw=78 ft=xdefaults: !