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 7bab03460162cfb46946666d5129c7c86293cf06
parent 2040e8cab02d49f0deb62f9f14a51272280250bc
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 30 Sep 2019 09:12:54 +0200

Do not set X mouse settings on OpenBSD

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

diff --git a/.xprofile b/.xprofile @@ -20,18 +20,18 @@ xautolock -time 10 -locker xlock -detectsleep & setxkbmap -option ctrl:nocaps #-option altwin:swap_lalt_lwin if [ "$(hostname)" != "phony" ]; then - kelvin_day=6500 # default: 6500 K - kelvin_night=2300 # default: 4500 K - lat=56.09;lon=10.12 # Aarhus - #lat=37.25;lon=-122.9 # Stanford - #lat=32.84;lon=-117.26 # San Diego - redshift -l $lat:$lon -t $kelvin_day:$kelvin_night & + kelvin_day=6500 # default: 6500 K + kelvin_night=2300 # default: 4500 K + lat=56.09;lon=10.12 # Aarhus + #lat=37.25;lon=-122.9 # Stanford + #lat=32.84;lon=-117.26 # San Diego + redshift -l $lat:$lon -t $kelvin_day:$kelvin_night & fi xset -b # Disable beeps xset +dpms # Energy Star features on xset dpms 300 600 900 # standby -> suspend -> off (seconds) -xset m 1/4 0 # mouse acceleration (xset m <acceleration> <threshold>) +[ ! "$(uname)" = "OpenBSD" ] && xset m 1/4 0 xset r rate 300 50 # key repeat rate ([delay in ms] [repeats per sec]) # auto-start programs @@ -40,4 +40,3 @@ unclutter & dunst & calcurse_reminders.py 15 & dwmstatus & -keynav &