diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2023-01-14 14:47:33 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-01-14 14:47:33 +0100 |
commit | 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 (patch) | |
tree | a9a477e11fb6dbea189835147a149e56c0f03a7f /.bin/x11-screen | |
parent | ce6be946d024aa55a15d576388d05f90be671cf2 (diff) | |
download | dots-23e2bfd987c430bb41bc7860c46c2f572e9e2db4.tar.gz |
Sat Jan 14 02:47:33 PM CET 2023
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 |