X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Xdefaults.in;h=f2938b4ad66ecf9200b942888a9c76a06a47b9d4;hb=3e05c1d4dda93e05aad2ef37900754f77c026d82;hp=19d3cd404ea205ecff0a0bac727fa54f0dd829c4;hpb=3fa1037f878f2d09372ba7e5a535e85e77c3a170;p=config%2Fdotfiles.git diff --git a/Xdefaults.in b/Xdefaults.in index 19d3cd4..f2938b4 100644 --- a/Xdefaults.in +++ b/Xdefaults.in @@ -1,16 +1,43 @@ ! Configuration file for X11 programs. ! -! It is designed to work with xterm (and its unicode variant). +! It is designed to work with xterm and rxvt (and their unicode variants). ! ! "Term" is an alias for all supported terminal emulators; it is automatically ! replaced by setup.sh. +! Copyright (C) 2011-2014 Simon Ruderich +! +! This file is free software: you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation, either version 3 of the License, or +! (at your option) any later version. +! +! This file is distributed in the hope that it will be useful, +! but WITHOUT ANY WARRANTY; without even the implied warranty of +! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +! GNU General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with this file. If not, see . + ! Use gray on black with a light yellow cursor in terminals. -Term*foreground: #cccccc -Term*background: black +Term*foreground: #cccccc +Term*background: #000000 Term*cursorColor: #ffff66 +! Special case for urxvt to get transparent background. This requires a +! compositing manager which supports transparency like compton. Thanks to eto +! and adaedra in #herblstuftwm on Freenode (2014-05-04 15:50 ff) for their +! awesome help regarding transparency. +Rxvt*background: [90]#000000 +! Necessary for transparency, see man page. +Rxvt*depth: 32 + +! Disable the scrollback buffer. I use screen/tmux so it is not necessary. +XTerm*saveLines: 0 +Rxvt*saveLines: 0 + ! Use the meta-key as expected by emacs/irssi. XTerm*metaSendsEscape: true @@ -22,6 +49,13 @@ XTerm.termName: xterm-256color ! #stumpwm on Freenode (2009-05-18 22:05). !XTerm*allowSendEvents: true +! Enable pseudo transparency. Only used if compton is not available. +!NO_COMPTON Rxvt*transparent: true +!NO_COMPTON Rxvt*shading: 10 + +! Do not use any perl extension scripts. +Rxvt*perl-ext-common: + ! Main console colors. Term*color0: #000000 Term*color1: #ff0000