aboutsummaryrefslogtreecommitdiffstats
path: root/basics/.local/bin/setup-widescreen
diff options
context:
space:
mode:
Diffstat (limited to 'basics/.local/bin/setup-widescreen')
-rwxr-xr-xbasics/.local/bin/setup-widescreen10
1 files changed, 10 insertions, 0 deletions
diff --git a/basics/.local/bin/setup-widescreen b/basics/.local/bin/setup-widescreen
new file mode 100755
index 0000000..0082ff9
--- /dev/null
+++ b/basics/.local/bin/setup-widescreen
@@ -0,0 +1,10 @@
+#!/usr/bin/env sh
+
+# Modeline
+# cvt 3440 1440 30
+xrandr --newmode "3440x1440_30.00" 196.25 3440 3600 3952 4464 1440 1443 1453 1468 -hsync +vsync
+
+xrandr --addmode HDMI1 3440x1440_30.00
+
+xrandr --output HDMI1 --mode 3440x1440_30.00 --primary --left-of eDP1
+