diff options
Diffstat (limited to '.bin/x11-screen')
-rwxr-xr-x | .bin/x11-screen | 6 |
1 files changed, 6 insertions, 0 deletions
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 |