X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Xdefaults.in;h=9ecdaaed7e4f925b2f45fe0c3c2f6afa4cf1c19e;hb=27f498589e349b689b3290f90e8c291731de51f3;hp=84ad25c03cea145759aeb218db03eee68bc12683;hpb=d0badaed11a7bec100c5488dc6c77aece473162a;p=config%2Fdotfiles.git diff --git a/Xdefaults.in b/Xdefaults.in index 84ad25c..9ecdaae 100644 --- a/Xdefaults.in +++ b/Xdefaults.in @@ -1,37 +1,70 @@ ! Configuration file for X11 programs. +! +! 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-2012 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: #000000 +Term*cursorColor: #ffff66 + +! Disable the scrollback buffer. I use screen/tmux so it is not necessary. +XTerm*saveLines: 0 +Rxvt*saveLines: 0 -! Use gray on black with a white cursor in XTerm. -XTerm*foreground: darkgray -XTerm*background: black -XTerm*cursorColor: white ! Use the meta-key as expected by emacs/irssi. XTerm*metaSendsEscape: true + +! Use 256 colors in XTerm. +XTerm.termName: xterm-256color + ! Make sure XTerm allows send events. Necessary for stumpWM so Ctrl-t t can ! send a Ctrl-t to the application running in XTerm. Thanks to [df] in ! #stumpwm on Freenode (2009-05-18 22:05). -XTerm*allowSendEvents: true +!XTerm*allowSendEvents: true -! Use 256 colors in XTerm. -XTerm.termName: xterm-256color +! Enable transparency. +Rxvt*transparent: true +Rxvt*shading: 10 + +! Do not use any perl extension scripts. +Rxvt*perl-ext-common: ! Main console colors. -XTerm*color0: #000000 -XTerm*color1: #ff0000 -XTerm*color2: #00ff00 -XTerm*color3: #ffff00 -XTerm*color4: #0000ff -XTerm*color5: #ff00ff -XTerm*color6: #00ffff -XTerm*color7: #ffffff +Term*color0: #000000 +Term*color1: #ff0000 +Term*color2: #00ff00 +Term*color3: #ffff00 +Term*color4: #0000ff +Term*color5: #ff00ff +Term*color6: #00ffff +Term*color7: #ffffff ! Bold console colors. -XTerm*color8: #404040 -XTerm*color9: #ff4040 -XTerm*color10: #40ff40 -XTerm*color11: #ffff40 -XTerm*color12: #4040ff -XTerm*color13: #ff40ff -XTerm*color14: #40ffff -XTerm*color15: #cccccc +Term*color8: #404040 +Term*color9: #ff4040 +Term*color10: #40ff40 +Term*color11: #ffff40 +Term*color12: #4040ff +Term*color13: #ff40ff +Term*color14: #40ffff +Term*color15: #cccccc ! vim: ft=xdefaults