mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 11:48:33 +02:00
dock: restart awesome after reconfiguring
It is likely that awesome missed the second xrandr event.
This commit is contained in:
parent
7f29fd3235
commit
62c3f6a7f4
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ case "$event,$use,$(uname -n),$name" in
|
||||||
if xrandr | grep '^DP. connected'; then
|
if xrandr | grep '^DP. connected'; then
|
||||||
xrandr --output eDP1 --off --output DP3 --auto --primary
|
xrandr --output eDP1 --off --output DP3 --auto --primary
|
||||||
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
||||||
|
echo 'awesome.restart()' | awesome-client
|
||||||
fi
|
fi
|
||||||
xkb default
|
xkb default
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue