input: invoke autorandr explicitely

Acting on DRM change is a bad idea as monitors come and go during
detection and autorandr running in parallel is not reliable enough.
This commit is contained in:
Vincent Bernat 2020-01-16 12:15:14 +01:00
parent 76a2ce3511
commit 556aa785e8

View file

@ -19,6 +19,11 @@ case "$event,$use,$(uname -n),$name" in
XIDeviceDisabled,*)
:
;;
*,XISlaveKeyboard,*,"Topre Corporation Realforce 87")
sleep 2
autorandr --change
xkb default
;;
*,XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard")
xkb x1
;;