summaryrefslogtreecommitdiff
path: root/bin/dual-monitor
diff options
context:
space:
mode:
authormediocregopher <mediocregopher@gmail.com>2023-08-13 21:34:14 +0200
committermediocregopher <mediocregopher@gmail.com>2023-08-13 21:35:17 +0200
commit1957081c122fe231eb6120192489dd979d214317 (patch)
treeb8cd0812ec3c0452d54cb789ba938e6f0c0e8278 /bin/dual-monitor
parentef8da74f1ae38d9eceb68846fe9ef402c8e30fcf (diff)
Update branch with all changes which could be brought in from private branches
For a while I was keeping a private branch where there were a lot of non-public things included, and that became the de-facto branch while this one lagged. This one is now up-to-date, all private stuff is dealt with via config files which are not committed.
Diffstat (limited to 'bin/dual-monitor')
-rwxr-xr-xbin/dual-monitor16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/dual-monitor b/bin/dual-monitor
new file mode 100755
index 0000000..9ed4d10
--- /dev/null
+++ b/bin/dual-monitor
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+xrandr \
+ --output eDP-1 \
+ --primary \
+ --mode 1920x1080 \
+ --pos 0x0 \
+ --rotate normal \
+ --output DP-1 --off \
+ --output HDMI-1 --off \
+ --output DP-2 --off \
+ --output HDMI-2 \
+ --mode 1920x1080 \
+ --pos 0x0 \
+ --rotate normal \
+ --brightness 0.9