]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - x11/Xresources.in
Move to x11/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / x11 / Xresources.in
1 ! Configuration file for X11 programs.
2 !
3 ! It is designed to work with xterm and rxvt (and their unicode variants).
4 !
5 ! "Term" is an alias for all supported terminal emulators; it is automatically
6 ! replaced by setup.sh.
7
8 ! Copyright (C) 2011-2015  Simon Ruderich
9 !
10 ! This file is free software: you can redistribute it and/or modify
11 ! it under the terms of the GNU General Public License as published by
12 ! the Free Software Foundation, either version 3 of the License, or
13 ! (at your option) any later version.
14 !
15 ! This file is distributed in the hope that it will be useful,
16 ! but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 ! GNU General Public License for more details.
19 !
20 ! You should have received a copy of the GNU General Public License
21 ! along with this file.  If not, see <http://www.gnu.org/licenses/>.
22
23
24 ! COLOR SETTINGS
25
26 ! Use gray on black with a light yellow cursor in terminals.
27 Term.foreground:  #cccccc
28 Term.background:  #000000
29 Term.cursorColor: #ffff66
30
31 ! Special case for urxvt to get transparent background. This requires a
32 ! compositing manager which supports transparency like compton. Thanks to eto
33 ! and adaedra in #herblstuftwm on Freenode (2014-05-04 15:50 ff) for their
34 ! awesome help regarding transparency.
35 URxvt.background: [90]#000000
36 ! Necessary for transparency, see man page.
37 URxvt.depth: 32
38
39 ! Enable pseudo transparency. Only used if compton is not available.
40 !NO_COMPTON URxvt.transparent: true
41 !NO_COMPTON URxvt.shading:     10
42
43 ! Main console colors.
44 Term.color0:  #000000
45 Term.color1:  #ff0000
46 Term.color2:  #00ff00
47 Term.color3:  #ffff00
48 Term.color4:  #0000ff
49 Term.color5:  #ff00ff
50 Term.color6:  #00ffff
51 Term.color7:  #ffffff
52 ! Bold console colors.
53 Term.color8:  #404040
54 Term.color9:  #ff4040
55 Term.color10: #40ff40
56 Term.color11: #ffff40
57 Term.color12: #4040ff
58 Term.color13: #ff40ff
59 Term.color14: #40ffff
60 Term.color15: #cccccc
61
62 ! Use 256 colors in XTerm.
63 XTerm.termName: xterm-256color
64
65
66 ! MISC TERMINAL SETTINGS
67
68 ! Use Inconsolata as default font, SourceCodePro for replacement characters
69 ! (e.g. greek letters), VL Gothic for Asian characters.
70 URxvt.font: xft:Inconsolata:pixelsize=17,xft:SourceCodePro-Regular:pixelsize=17,xft:VL Gothic:pixelsize=17
71
72 ! Disable the scrollback buffer. I use screen/tmux so it is not necessary and
73 ! only wastes memory.
74 XTerm.saveLines: 0
75 URxvt.saveLines:  0
76
77 ! Use the meta-key as expected by emacs/irssi.
78 XTerm.metaSendsEscape: true
79
80 ! Make sure XTerm allows send events. Necessary for stumpWM so Ctrl-t t can
81 ! send a Ctrl-t to the application running in XTerm. Thanks to [df] in
82 ! #stumpwm on Freenode (2009-05-18 22:05).
83 !XTerm*allowSendEvents: true
84
85 ! Disable support to enter non-ASCII keys by pressing Ctrl-Shift-<Keycode>.
86 ! Either use digraph support in vim/screen or use the compose key instead.
87 ! NOTE: If enabled can also be used to display used font for characters.
88 URxvt.iso14755: false
89 URxvt.iso14755_52: false
90
91 ! Disable printing with the "Print" key to prevent accidental prints. By
92 ! default lpr is used. Rxvt instead of URxvt to ensure printing is disabled in
93 ! case I use plain rxvt.
94 Rxvt.print-pipe: true
95
96 ! Do not use any perl extension scripts.
97 URxvt.perl-ext-common:
98
99
100 ! XSCREENSAVER SETTINGS
101
102 ! Just blank the screen, no fancy screen savers.
103 xscreensaver.mode: blank
104
105 ! Blank after x time (h:mm:ss).
106 xscreensaver.timeout: 0:10:00
107 ! Lock screen after x time _after_ blank.
108 xscreensaver.lockTimeout: 2:00:00
109 ! Require password to unlock after blank.
110 xscreensaver.lock: True
111
112 ! No fade effects, enable/disable monitor immediately.
113 xscreensaver.fade:   False
114 xscreensaver.unfade: False
115
116 ! Enable monitor power management.
117 xscreensaver.dpmsEnabled: True
118 ! Disable monitor immediately when locking the screen.
119 xscreensaver.dpmsQuickOff: True
120 ! Put monitor into standby (gets black), suspend (power-saving mode) and off
121 ! after x time.
122 xscreensaver.dpmsStandby: 0:10:00
123 xscreensaver.dpmsSuspend: 0:30:00
124 xscreensaver.dpmsOff:     1:00:00
125
126 ! Display splash screen on startup for x time.
127 xscreensaver.splash:         True
128 xscreensaver.splashDuration: 0:00:01
129
130 ! Disable "New Login" button.
131 xscreensaver.newLoginCommand: /bin/false
132
133 ! vim: ft=xdefaults