diff options
Diffstat (limited to 'configs/sysmenu/xinitrc_partymode')
-rwxr-xr-x | configs/sysmenu/xinitrc_partymode | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/sysmenu/xinitrc_partymode b/configs/sysmenu/xinitrc_partymode new file mode 100755 index 0000000..7d77bbd --- /dev/null +++ b/configs/sysmenu/xinitrc_partymode @@ -0,0 +1,19 @@ +#!/bin/sh + +xset -dpms +xset s noblank +matchbox-window-manager -use_titlebar no -use_desktop_mode plain -use_cursor no & +pulseaudio --fail=false --start & +projectM-pulseaudio & +sleep 2 +sudo /usr/bin/spawn_mp3blaster & +sleep 2 + +while (`true`); do + pidof mp3blaster >/dev/null + if [ $? -ne 0 ]; then + pulseaudio -k + exit 0 + fi + sleep 1 +done |