# -*- mode: shell-script; eval: (git-auto-commit-mode 1) -*-

# -----[ Set background ]---------------------------------------------
hsetroot -center ~/pictures/wallpapers/3600x1080/wallpaper-1460625.jpg

# -----[ Modify keys ]------------------------------------------------
xmodmap ~/.Xmodmap

# -----[ Start some programs ]----------------------------------------
conky
numlockx &
emacs --daemon
xbindkeys

# mpdscribble
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
    mpdscribble &
fi

mpc idleloop player | { while read; do notify-send "`mpc current`"; 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