dock: restart awesome after reconfiguring

It is likely that awesome missed the second xrandr event.
This commit is contained in:
Vincent Bernat 2014-09-18 09:28:00 +02:00
parent 7f29fd3235
commit 62c3f6a7f4

View file

@ -42,6 +42,7 @@ case "$event,$use,$(uname -n),$name" in
if xrandr | grep '^DP. connected'; then
xrandr --output eDP1 --off --output DP3 --auto --primary
xrandr --output DP4 --auto --right-of DP3 --dpi 96
echo 'awesome.restart()' | awesome-client
fi
xkb default
;;