summaryrefslogtreecommitdiff
path: root/home/.sunshine-1080p
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2026-02-16 01:19:08 +0100
committernavewindre <boneyaard@gmail.com>2026-02-16 01:20:00 +0100
commit63321658035a6ad9f16ee80f27655d82316702ff (patch)
treea17d929e41860be3e6c0ff89d3bbd8cf9b20e433 /home/.sunshine-1080p
parent6faa08dd69c775670f58a488c64aaa274132708a (diff)
a
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"