summaryrefslogtreecommitdiffstats
path: root/local/bin/laptop-xrandr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/laptop-xrandr.sh')
-rwxr-xr-xlocal/bin/laptop-xrandr.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/local/bin/laptop-xrandr.sh b/local/bin/laptop-xrandr.sh
index d3c5c49..01b0c52 100755
--- a/local/bin/laptop-xrandr.sh
+++ b/local/bin/laptop-xrandr.sh
@@ -10,10 +10,13 @@
simple_2_monitor() {
# enable
xrandr --output eDP --auto \
- --output HDMI-A-0 --auto --right-of eDP
+ --output HDMI-A-0 --auto --left-of eDP
# disable
- #xrandr --output eDP --auto \
- # --output HDMI-A-0 --off
+ xrandr --output eDP --auto \
+ --output HDMI-A-0 --off
}
+# Thank you: https://www.maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/
+# xrandr --auto --output HDMI-A-0 --mode 1920x1080 --right-of eDP
+
simple_2_monitor