legacy-dotfiles/.xinitrc
2012-04-01 14:58:56 +02:00

33 lines
811 B
Text

#_ Modify keys
xmodmap ~/.Xmodmap
#_ Start some programs
xsetroot -solid "#002b36"
numlockx &
emacs --daemon &
xbindkeys &
#_. mpdscribble
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
mpdscribble &
fi
#_. mpdnotify
mpc idleloop player | { while read; do notify-send "`mpc current`"; done } &
#_. rootname
while true; do
xsetroot -name /home/slash/.rootname.scm
sleep 1m
done
#_ Start notifier
/usr/bin/dunst \
-fn "-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" \
-nb "#000000" -nf "#15abc3" &
#_ Start session
#exec ck-launch-session /usr/bin/herbstluftwm 2>&1 >> ~/.xsession_errors
exec ck-launch-session /usr/local/bin/dwm 2>&1 >> ~/.xsession_errors
#_ Local Variables
# Local Variables:
# mode: shell-script
# eval: (git-auto-commit-mode 1)
# eval: (allout-mode 1)
# End: