dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0e65ea07b65e657113e075dec3a3deaee4516678
parent e6482ef543ba9120f9856e1c40e73eed9feb8ac7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  2 Jan 2020 12:44:53 +0100

Do not sleep screen on iddqd

Diffstat:
M.xprofile | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.xprofile b/.xprofile @@ -13,8 +13,12 @@ setxkbmap -option ctrl:nocaps xset -b # Disable beeps xset +dpms # Energy Star features on -xset dpms 300 600 900 # standby -> suspend -> off (seconds) -[ ! "$(uname)" = "OpenBSD" ] && xset m 1/4 0 +if [ "$(hostname)" = "iddqd" ]; then + xset -dpms +else + xset dpms 300 600 900 +fi +[ ! "$(uname)" = "OpenBSD" ] && xset m 1/4 0 || : xset r rate 300 50 # key repeat rate ([delay in ms] [repeats per sec]) # auto-start programs