aboutsummaryrefslogtreecommitdiff
path: root/configs/sysmenu/xinitrc_partymode
blob: 7d77bbdb370b286b7711fa83babcdb5c9373b4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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