aboutsummaryrefslogtreecommitdiff
path: root/configs/party-mode/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/party-mode/xinitrc')
-rw-r--r--configs/party-mode/xinitrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/party-mode/xinitrc b/configs/party-mode/xinitrc
new file mode 100644
index 0000000..0af0a8b
--- /dev/null
+++ b/configs/party-mode/xinitrc
@@ -0,0 +1,22 @@
+#!/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 5
+sudo /usr/bin/spawn_mp3blaster &
+sleep 1
+sudo /usr/bin/spawn_mpsyt &
+sleep 2
+
+while (`true`); do
+ pidof mp3blaster >/dev/null
+ if [ $? -ne 0 ]; then
+ pulseaudio -k
+ killall mpsyt
+ exit 0
+ fi
+ sleep 1
+done