diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-12-09 18:42:27 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-12-09 18:42:27 -0500 |
commit | 8a4cbf34f6e9509ed42b54dd15b9b506184274e7 (patch) | |
tree | e2054f94c2e2a3f431a0e8953e6a653281afa0d9 /toggle-docked.sh | |
parent | a8a22fd752cc2a095be34c5f9007c4f6516831c5 (diff) | |
download | scripts-8a4cbf34f6e9509ed42b54dd15b9b506184274e7.tar.xz scripts-8a4cbf34f6e9509ed42b54dd15b9b506184274e7.zip |
fixed not resetting transform on disconnect from external display
Diffstat (limited to 'toggle-docked.sh')
-rwxr-xr-x | toggle-docked.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toggle-docked.sh b/toggle-docked.sh index 6a97907..a04540e 100755 --- a/toggle-docked.sh +++ b/toggle-docked.sh @@ -7,7 +7,7 @@ if [ "$is_docked" = "connected" ]; then xrandr \ --output DP-0 --off \ --output DP-1 --off \ - --output DP-2 --primary --mode $big --pos 0x0 --rotate normal --dpi 96 \ + --output DP-2 --primary --mode $big --pos 0x0 --rotate normal \ --output DP-3 --scale-from $big --same-as DP-2 --rotate normal \ --output DP-4 --off \ --output VGA-0 --off \ @@ -18,7 +18,7 @@ else --output DP-0 --off \ --output DP-1 --off \ --output DP-2 --off \ - --output DP-3 --primary --mode $little --pos 0x0 --rotate normal --dpi 96 \ + --output DP-3 --primary --mode $little --transform none --pos 0x0 --rotate normal \ --output DP-4 --off \ --output VGA-0 --off \ && killall xautolock |