dotfiles/.xinitrc
2016-10-10 20:35:00 +02:00

24 lines
500 B
Bash
Executable file

#!/bin/bash
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
. $HOME/.bashrc
xsetroot -solid \#579
xmodmap $DOTFILES/.Xmodmap
setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se
if [ "$HOSTNAME" = "dredd" ]; then
redshift -l 59.29:18.01 -t 5800:4500 &
xautolock -time 3 -detectsleep -locker $DOTFILES/bin/lockscreen &
(sleep 0.1 && xautolock -locknow) &
fi
st -e tmux attach -t 0 &
exec dwm