From 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 14 Jan 2023 14:47:33 +0100 Subject: Sat Jan 14 02:47:33 PM CET 2023 --- .bin/x11-screen | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.bin/x11-screen') diff --git a/.bin/x11-screen b/.bin/x11-screen index ea9e08d..38ee006 100755 --- a/.bin/x11-screen +++ b/.bin/x11-screen @@ -30,4 +30,10 @@ if [ "${hostname}" = "work-01" ]; then xrandr --output DP3 --off xrandr --addmode DP3 1920x1080 xrandr --output DP3 --mode 1920x1080 --same-as eDP1 + + case "${1}" in + vertical*) + xrandr --output DP3 --scale 1x1 --rotate left --right-of eDP1 + ;; + esac fi -- cgit v1.2.3