mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 03:34:22 +02:00
input: don't print anything for removed stuff
This commit is contained in:
parent
243de00594
commit
fba67da888
1 changed files with 5 additions and 3 deletions
|
@ -13,12 +13,14 @@ xkb() {
|
|||
$HOME/.config/awesome/xkb/$1.xkb ${DISPLAY}
|
||||
}
|
||||
|
||||
case $event in
|
||||
XIDeviceDisabled,*) exit 0 ;;
|
||||
XISlaveRemoved,*) exit 0 ;;
|
||||
esac
|
||||
|
||||
printf "input-event: $use: [%3d] $event $name\n" $device
|
||||
|
||||
case "$event,$use,$(uname -n),$name" in
|
||||
XIDeviceDisabled,*)
|
||||
:
|
||||
;;
|
||||
*,XISlaveKeyboard,*,"Topre Corporation Realforce 87")
|
||||
sleep 2
|
||||
systemctl --user start autorandr@$(systemd-escape -- "$DISPLAY").service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue