summaryrefslogtreecommitdiff
path: root/home/.sunshine-1080p
diff options
context:
space:
mode:
Diffstat (limited to 'home/.sunshine-1080p')
-rwxr-xr-xhome/.sunshine-1080p11
1 files changed, 11 insertions, 0 deletions
diff --git a/home/.sunshine-1080p b/home/.sunshine-1080p
new file mode 100755
index 0000000..c171c2b
--- /dev/null
+++ b/home/.sunshine-1080p
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [[ $DISPLAY == :1 ]]; then
+ echo "running on virtmon, exiting"
+ exit 0
+fi
+
+xrandr --output DP-0 --mode 1920x1080 --rate 165
+xrandr --output HDMI-0 --off
+sleep 2
+term -e "$HOME/.restart-panel"