1
0
Fork 0

Fix timings in swaystatus

main
urosm 2024-10-14 21:55:15 +02:00
parent 587b6d2ed9
commit 099fa0751c
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,6 @@ while :; do
swaymsg -t get_tree | jq -cj 'recurse(.nodes[]) | select(.name=="__i3_scratch").floating_nodes | {"full_text":length,"urgent":length}, ","'
printf "],"
# timeout
timeout 1 swaymsg -qt subscribe '["binding"]' >/dev/null
timeout 0.9 swaymsg -qt subscribe '["binding"]' >/dev/null
sleep 0.1
done