swayidle: fix local
typo
This commit is contained in:
@@ -44,7 +44,7 @@ let
|
|||||||
# XXX(2024/06/09): `type:touch` method is documented, but now silently fails
|
# XXX(2024/06/09): `type:touch` method is documented, but now silently fails
|
||||||
# swaymsg -- input type:touch events disabled
|
# swaymsg -- input type:touch events disabled
|
||||||
|
|
||||||
local inputs=$(swaymsg -t get_inputs --raw | jq '. | map(select(.type == "touch")) | map(.identifier) | join(" ")' --raw-output)
|
inputs=$(swaymsg -t get_inputs --raw | jq '. | map(select(.type == "touch")) | map(.identifier) | join(" ")' --raw-output)
|
||||||
for id in "''${inputs[@]}"; do
|
for id in "''${inputs[@]}"; do
|
||||||
swaymsg -- input "$id" events disabled
|
swaymsg -- input "$id" events disabled
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user