mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-14 12:14:20 +02:00
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:
parent
76a2ce3511
commit
556aa785e8
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ case "$event,$use,$(uname -n),$name" in
|
||||||
XIDeviceDisabled,*)
|
XIDeviceDisabled,*)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
|
*,XISlaveKeyboard,*,"Topre Corporation Realforce 87")
|
||||||
|
sleep 2
|
||||||
|
autorandr --change
|
||||||
|
xkb default
|
||||||
|
;;
|
||||||
*,XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard")
|
*,XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard")
|
||||||
xkb x1
|
xkb x1
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue