add scripts to switch between 2 and 3 displays when docked
This commit is contained in:
parent
b340d84eb3
commit
d66c3bef62
2 changed files with 15 additions and 3 deletions
13
.screenlayout/docked-2screen.sh
Executable file
13
.screenlayout/docked-2screen.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
xrandr --output DP2-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal
|
||||
xrandr --output DP2-1 --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
xrandr --output eDP1 --off
|
||||
xrandr --output DP2-3 --off
|
||||
|
||||
|
||||
xset s off
|
||||
|
||||
~/.fehbg
|
||||
|
||||
sudo rfkill block wifi
|
|
@ -1,11 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
xrandr --output DP2-3 --mode 1280x1024 --pos 0x0 --rotate normal
|
||||
sleep 2
|
||||
xrandr --output DP2-2 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
|
||||
sleep 2
|
||||
sleep 1
|
||||
xrandr --output eDP1 --off
|
||||
xrandr --output DP2-1 --off
|
||||
xrandr --output DP2-1 --mode 1920x1080 --pos 3200x0 --rotate normal
|
||||
|
||||
xset s off
|
||||
|
Loading…
Reference in a new issue