diff --git a/dotfiles/xinitrc b/dotfiles/xinitrc index 9731204..868caf2 100755 --- a/dotfiles/xinitrc +++ b/dotfiles/xinitrc @@ -10,15 +10,20 @@ # Dedication along with this software. If not, see # . -[ -r ~/.profile ] && . ~/.profile +if [ -r ~/.profile ]; then + . ~/.profile +fi -sct 4500 +sct 3500 setxkbmap -layout us -variant altgr-intl -option compose:caps xset r rate 300 75 xset b off -[ -r ~/.Xresources ] && xrdb -merge ~/.Xresources +if [ -r ~/.Xresources ]; then + xrdb -merge ~/.Xresources +fi -exec herbstluftwm -l >~/local/var/log/herbstluftwm 2>&1 +: ${logdir:=~/local/var/log} +exec herbstluftwm -l >"$logdir/hlwm.out" 2>"$logdir/hlwm.err"