diff --git a/bin/input-event b/bin/input-event index 004d010..564318d 100755 --- a/bin/input-event +++ b/bin/input-event @@ -22,9 +22,9 @@ case "$use,$(uname -n),$name" in # Are we getting docked? sleep 2 if xrandr | grep '^DP. connected'; then + pkill compton xrandr --output eDP1 --off --output DP3 --auto --primary xrandr --output DP4 --auto --right-of DP3 --dpi 96 - pkill compton sleep 1 echo 'awesome.restart()' | awesome-client fi