summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hornet/tv8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/hornet/tv b/bin/hornet/tv
new file mode 100755
index 0000000..eea7fca
--- /dev/null
+++ b/bin/hornet/tv
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+xrandr --auto
+if xrandr -q | grep -q "DP-3 connected"; then
+ xrandr --output DP-3 --right-of eDP-1 --mode 1920x1080
+elif xrandr -q | grep -q "DP-4 connected"; then
+ xrandr --output DP-4 --right-of eDP-1 --mode 1920x1080
+fi