]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - Xresources.in
move XScreenSaver settings to Xresources
[config/dotfiles.git] / 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 ! Use gray on black with a light yellow cursor in terminals.
25 Term*foreground:  #cccccc
26 Term*background:  #000000
27 Term*cursorColor: #ffff66
28
29 ! Special case for urxvt to get transparent background. This requires a
30 ! compositing manager which supports transparency like compton. Thanks to eto
31 ! and adaedra in #herblstuftwm on Freenode (2014-05-04 15:50 ff) for their
32 ! awesome help regarding transparency.
33 Rxvt*background: [90]#000000
34 ! Necessary for transparency, see man page.
35 Rxvt*depth: 32
36
37 ! Disable the scrollback buffer. I use screen/tmux so it is not necessary and
38 ! only wastes memory.
39 XTerm*saveLines: 0
40 Rxvt*saveLines:  0
41
42 ! Use the meta-key as expected by emacs/irssi.
43 XTerm*metaSendsEscape: true
44
45 ! Use 256 colors in XTerm.
46 XTerm.termName: xterm-256color
47
48 ! Make sure XTerm allows send events. Necessary for stumpWM so Ctrl-t t can
49 ! send a Ctrl-t to the application running in XTerm. Thanks to [df] in
50 ! #stumpwm on Freenode (2009-05-18 22:05).
51 !XTerm*allowSendEvents: true
52
53 ! Enable pseudo transparency. Only used if compton is not available.
54 !NO_COMPTON Rxvt*transparent: true
55 !NO_COMPTON Rxvt*shading:     10
56
57 ! Disable support to enter non-ASCII keys by pressing Ctrl-Shift-<Keycode>.
58 ! Either use digraph support in vim/screen or use the compose key instead.
59 Rxvt*iso14755: false
60 Rxvt*iso14755_52: false
61
62 ! Disable printing with the "Print" key to prevent accidental prints. By
63 ! default lpr is used.
64 Rxvt.print-pipe: true
65
66 ! Do not use any perl extension scripts.
67 Rxvt*perl-ext-common:
68
69 ! Main console colors.
70 Term*color0:  #000000
71 Term*color1:  #ff0000
72 Term*color2:  #00ff00
73 Term*color3:  #ffff00
74 Term*color4:  #0000ff
75 Term*color5:  #ff00ff
76 Term*color6:  #00ffff
77 Term*color7:  #ffffff
78 ! Bold console colors.
79 Term*color8:  #404040
80 Term*color9:  #ff4040
81 Term*color10: #40ff40
82 Term*color11: #ffff40
83 Term*color12: #4040ff
84 Term*color13: #ff40ff
85 Term*color14: #40ffff
86 Term*color15: #cccccc
87
88
89 ! XScreenSaver settings.
90
91 ! Just blank the screen, no fancy screen savers.
92 xscreensaver.mode: blank
93
94 ! Blank after x time (h:mm:ss).
95 xscreensaver.timeout: 0:10:00
96 ! Lock screen after x time.
97 xscreensaver.lockTimeout: 2:00:00
98 ! Immediately lock when timeout is reached.
99 xscreensaver.lock: True
100
101 ! No fade effects, enable/disable monitor immediately.
102 xscreensaver.fade:   False
103 xscreensaver.unfade: False
104
105 ! Enable monitor power management.
106 xscreensaver.dpmsEnabled: True
107 ! Disable monitor immediately when locking the screen.
108 xscreensaver.dpmsQuickOff: True
109 ! Put monitor into standby (gets black), suspend (power-saving mode) and off
110 ! after x time.
111 xscreensaver.dpmsStandby: 0:10:00
112 xscreensaver.dpmsSuspend: 0:30:00
113 xscreensaver.dpmsOff:     1:00:00
114
115 ! Display splash screen on startup for x time.
116 xscreensaver.splash:         True
117 xscreensaver.splashDuration: 0:00:01
118
119 ! Disable "New Login" button.
120 xscreensaver.newLoginCommand: /bin/false
121
122 ! vim: ft=xdefaults