xinitrc: small changes
- sct 3500K - prefer `if cmd; then ...` to `cmd && ...` - use different files for stdout and stderr
This commit is contained in:
parent
fa98ce9002
commit
50cd17d821
@ -10,15 +10,20 @@
|
|||||||
# Dedication along with this software. If not, see
|
# Dedication along with this software. If not, see
|
||||||
# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
|
||||||
[ -r ~/.profile ] && . ~/.profile
|
if [ -r ~/.profile ]; then
|
||||||
|
. ~/.profile
|
||||||
|
fi
|
||||||
|
|
||||||
sct 4500
|
sct 3500
|
||||||
|
|
||||||
setxkbmap -layout us -variant altgr-intl -option compose:caps
|
setxkbmap -layout us -variant altgr-intl -option compose:caps
|
||||||
xset r rate 300 75
|
xset r rate 300 75
|
||||||
|
|
||||||
xset b off
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user