]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - Xdefaults.in
enable real transparency in urxvt with compton
[config/dotfiles.git] / Xdefaults.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-2014  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.
38 XTerm*saveLines: 0
39 Rxvt*saveLines:  0
40
41 ! Use the meta-key as expected by emacs/irssi.
42 XTerm*metaSendsEscape: true
43
44 ! Use 256 colors in XTerm.
45 XTerm.termName: xterm-256color
46
47 ! Make sure XTerm allows send events. Necessary for stumpWM so Ctrl-t t can
48 ! send a Ctrl-t to the application running in XTerm. Thanks to [df] in
49 ! #stumpwm on Freenode (2009-05-18 22:05).
50 !XTerm*allowSendEvents: true
51
52 ! Enable pseudo transparency. Only used if compton is not available.
53 !NO_COMPTON Rxvt*transparent: true
54 !NO_COMPTON Rxvt*shading:     10
55
56 ! Do not use any perl extension scripts.
57 Rxvt*perl-ext-common:
58
59 ! Main console colors.
60 Term*color0:  #000000
61 Term*color1:  #ff0000
62 Term*color2:  #00ff00
63 Term*color3:  #ffff00
64 Term*color4:  #0000ff
65 Term*color5:  #ff00ff
66 Term*color6:  #00ffff
67 Term*color7:  #ffffff
68 ! Bold console colors.
69 Term*color8:  #404040
70 Term*color9:  #ff4040
71 Term*color10: #40ff40
72 Term*color11: #ffff40
73 Term*color12: #4040ff
74 Term*color13: #ff40ff
75 Term*color14: #40ffff
76 Term*color15: #cccccc
77
78 ! vim: ft=xdefaults