]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - Xresources.in
dc2ff0918f7fc31b8c0acc3d247cb94fb2ef64bd
[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 ! 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 Rxvt*background: [90]#000000
36 ! Necessary for transparency, see man page.
37 Rxvt*depth: 32
38
39 ! Enable pseudo transparency. Only used if compton is not available.
40 !NO_COMPTON Rxvt*transparent: true
41 !NO_COMPTON Rxvt*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).
70 Rxvt.font: xft:Inconsolata:size=13pt,xft:SourceCodePro-Regular:size=13pt
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 Rxvt*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 Rxvt*iso14755: false
89 Rxvt*iso14755_52: false
90
91 ! Disable printing with the "Print" key to prevent accidental prints. By
92 ! default lpr is used.
93 Rxvt.print-pipe: true
94
95 ! Do not use any perl extension scripts.
96 Rxvt*perl-ext-common:
97
98
99 ! XSCREENSAVER SETTINGS
100
101 ! Just blank the screen, no fancy screen savers.
102 xscreensaver.mode: blank
103
104 ! Blank after x time (h:mm:ss).
105 xscreensaver.timeout: 0:10:00
106 ! Lock screen after x time _after_ blank.
107 xscreensaver.lockTimeout: 2:00:00
108 ! Require password to unlock after blank.
109 xscreensaver.lock: True
110
111 ! No fade effects, enable/disable monitor immediately.
112 xscreensaver.fade:   False
113 xscreensaver.unfade: False
114
115 ! Enable monitor power management.
116 xscreensaver.dpmsEnabled: True
117 ! Disable monitor immediately when locking the screen.
118 xscreensaver.dpmsQuickOff: True
119 ! Put monitor into standby (gets black), suspend (power-saving mode) and off
120 ! after x time.
121 xscreensaver.dpmsStandby: 0:10:00
122 xscreensaver.dpmsSuspend: 0:30:00
123 xscreensaver.dpmsOff:     1:00:00
124
125 ! Display splash screen on startup for x time.
126 xscreensaver.splash:         True
127 xscreensaver.splashDuration: 0:00:01
128
129 ! Disable "New Login" button.
130 xscreensaver.newLoginCommand: /bin/false
131
132 ! vim: ft=xdefaults