Remove some old stuff

This commit is contained in:
Tom Willemse 2013-04-30 23:52:58 +02:00
parent 3e63768e7b
commit e75266aad4

View file

@ -1,26 +1,5 @@
#!/bin/bash #!/bin/bash
function update_mowedline_mpd ()
{
while read action; do
if [ "$action" == "player" ]; then
IFS='' read -ra INFO <<< "`mpc status | tr '\n' `"
if [ "${INFO[1]}" == "" ]; then
mowedline-client -update mpd ""
else
TXT=" ${INFO[0]}"
ST="`echo ${INFO[1]} | sed 's/\[\(.*\)\] .*/\1/'`"
if [ "$ST" == "paused" ]; then
TXT="$TXT (paused)"
fi
mowedline-client -update mpd " $TXT"
fi
fi
done
}
xmodmap ~/.Xmodmap xmodmap ~/.Xmodmap
# Source scripts in /etc/X11/xinit/xinitrc.d/ # Source scripts in /etc/X11/xinit/xinitrc.d/
@ -34,14 +13,7 @@ fi
emacs --daemon & emacs --daemon &
redshift -l 51.1180:4.0012 & redshift -l 51.1180:4.0012 &
unclutter & unclutter &
mowedline &
xcompmgr -n -r 0 &
feh --bg-tile ~/pictures/wallpapers/wallpaper-864137.jpg feh --bg-tile ~/pictures/wallpapers/wallpaper-864137.jpg
# xbindkeys
{
mpc idleloop | update_mowedline_mpd
} &
test -n "$1" && wm=$1 || wm="stumpwm" test -n "$1" && wm=$1 || wm="stumpwm"
exec $wm exec $wm