mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 18:24:22 +02:00
dock: try to do the change in one command
This commit is contained in:
parent
fba170f85c
commit
1251eccf6d
1 changed files with 1 additions and 3 deletions
|
@ -33,15 +33,13 @@ case "$event,$use,$(uname -n),$name" in
|
||||||
# No, still docked?
|
# No, still docked?
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
xrandr --output DP3 off --output DP4 off
|
xrandr --output DP3 off --output DP4 off --output eDP1 --auto --dpi 144
|
||||||
xrandr --output eDP1 --auto --dpi 144
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
Enabled,XISlaveKeyboard,zoro,"Topre Corporation Realforce 87")
|
Enabled,XISlaveKeyboard,zoro,"Topre Corporation Realforce 87")
|
||||||
# Are we getting docked?
|
# Are we getting docked?
|
||||||
sleep 2
|
sleep 2
|
||||||
if xrandr | grep '^DP. connected'; then
|
if xrandr | grep '^DP. connected'; then
|
||||||
xrandr --output eDP1 --off
|
|
||||||
xrandr --output eDP1 --off --output DP3 --auto --primary --output DP4 --auto --right-of DP3 --dpi 96
|
xrandr --output eDP1 --off --output DP3 --auto --primary --output DP4 --auto --right-of DP3 --dpi 96
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue