swayidle: fix local typo

This commit is contained in:
2024-10-17 03:59:10 +00:00
parent 1e045c2c17
commit bb87899b95

View File

@@ -44,7 +44,7 @@ let
# XXX(2024/06/09): `type:touch` method is documented, but now silently fails
# 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
swaymsg -- input "$id" events disabled
done