legacy-dotfiles/.xinitrc
2011-11-09 19:51:08 +01:00

27 lines
677 B
Bash

# -*- mode: shell-script -*-
# -----[ Set background ]---------------------------------------------
xsetroot -solid black
# -----[ Modify keys ]------------------------------------------------
xmodmap ~/.Xmodmap
# -----[ Start some programs ]----------------------------------------
conky
numlockx &
# mpdscribble
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
mpdscribble &
fi
# -----[ Repeatedly set rootname ]------------------------------------
while :; do
xsetroot -name "`~/.rootname.scm`"
sleep 1m
done &
# -----[ Start session ]----------------------------------------------
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 > ~/.xsession_errors