X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Xresources.in;h=dd39e101bb2e7e635e657933beee1090159c5d51;hb=88ba0f56e16573a402d6fcbb383dc0f62fc4620d;hp=f2938b4ad66ecf9200b942888a9c76a06a47b9d4;hpb=6075dcef09a8871939dafbc29476bef2ed28c7a1;p=config%2Fdotfiles.git diff --git a/Xresources.in b/Xresources.in index f2938b4..dd39e10 100644 --- a/Xresources.in +++ b/Xresources.in @@ -5,7 +5,7 @@ ! "Term" is an alias for all supported terminal emulators; it is automatically ! replaced by setup.sh. -! Copyright (C) 2011-2014 Simon Ruderich +! Copyright (C) 2011-2015 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 @@ -21,6 +21,8 @@ ! along with this file. If not, see . +! COLOR SETTINGS + ! Use gray on black with a light yellow cursor in terminals. Term*foreground: #cccccc Term*background: #000000 @@ -30,31 +32,13 @@ Term*cursorColor: #ffff66 ! 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 +URxvt*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 - -! 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 +URxvt*depth: 32 ! 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: +!NO_COMPTON URxvt*transparent: true +!NO_COMPTON URxvt*shading: 10 ! Main console colors. Term*color0: #000000 @@ -75,4 +59,75 @@ Term*color13: #ff40ff Term*color14: #40ffff Term*color15: #cccccc +! Use 256 colors in XTerm. +XTerm.termName: xterm-256color + + +! MISC TERMINAL SETTINGS + +! Use Inconsolata as default font, SourceCodePro for replacement characters +! (e.g. greek letters). +URxvt.font: xft:Inconsolata:size=13pt,xft:SourceCodePro-Regular:size=13pt + +! Disable the scrollback buffer. I use screen/tmux so it is not necessary and +! only wastes memory. +XTerm*saveLines: 0 +URxvt*saveLines: 0 + +! Use the meta-key as expected by emacs/irssi. +XTerm*metaSendsEscape: true + +! 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 + +! Disable support to enter non-ASCII keys by pressing Ctrl-Shift-. +! Either use digraph support in vim/screen or use the compose key instead. +! NOTE: If enabled can also be used to display used font for characters. +URxvt*iso14755: false +URxvt*iso14755_52: false + +! Disable printing with the "Print" key to prevent accidental prints. By +! default lpr is used. Rxvt instead of URxvt to ensure printing is disabled in +! case I use plain rxvt. +Rxvt.print-pipe: true + +! Do not use any perl extension scripts. +URxvt*perl-ext-common: + + +! XSCREENSAVER SETTINGS + +! Just blank the screen, no fancy screen savers. +xscreensaver.mode: blank + +! Blank after x time (h:mm:ss). +xscreensaver.timeout: 0:10:00 +! Lock screen after x time _after_ blank. +xscreensaver.lockTimeout: 2:00:00 +! Require password to unlock after blank. +xscreensaver.lock: True + +! No fade effects, enable/disable monitor immediately. +xscreensaver.fade: False +xscreensaver.unfade: False + +! Enable monitor power management. +xscreensaver.dpmsEnabled: True +! Disable monitor immediately when locking the screen. +xscreensaver.dpmsQuickOff: True +! Put monitor into standby (gets black), suspend (power-saving mode) and off +! after x time. +xscreensaver.dpmsStandby: 0:10:00 +xscreensaver.dpmsSuspend: 0:30:00 +xscreensaver.dpmsOff: 1:00:00 + +! Display splash screen on startup for x time. +xscreensaver.splash: True +xscreensaver.splashDuration: 0:00:01 + +! Disable "New Login" button. +xscreensaver.newLoginCommand: /bin/false + ! vim: ft=xdefaults