summaryrefslogtreecommitdiff
path: root/home/.sunshine-off
diff options
context:
space:
mode:
Diffstat (limited to 'home/.sunshine-off')
-rwxr-xr-xhome/.sunshine-off10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/.sunshine-off b/home/.sunshine-off
new file mode 100755
index 0000000..1347f53
--- /dev/null
+++ b/home/.sunshine-off
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [[ $DISPLAY == :1 ]]; then
+ echo "running on virtmon, exiting"
+ exit 0
+fi
+
+sh ~/.config/openbox/autorun/1_screenres
+sleep 2
+term -e "$HOME/.restart-panel"