legacy-dotfiles/.xinitrc
2012-04-07 23:57:21 +02:00

38 lines
896 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
x=0
width=1920
height=12
y=0
/usr/bin/dunst \
-fn "-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" \
-nb "#002b36" -nf "#657b83" -to 5
-geometry "${width}x${height}+${x}+${y}" &
#_ 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: