eww timings

This commit is contained in:
soraefir
2026-06-14 12:37:21 +02:00
parent 65b88e8c55
commit d5ea865a4e
8 changed files with 38 additions and 33 deletions

View File

@@ -33,8 +33,8 @@ case "$1" in
mkfifo "$pipe"
trap 'rm -rf "$tmp"; kill 0 2>/dev/null' EXIT INT TERM
# 1s polling fallback
(while true; do sleep 1; echo poll; done) > "$pipe" &
# 2s polling fallback
(while true; do sleep 2; echo poll; done) > "$pipe" &
# PipeWire property-change events (fires on mute/volume change)
(pw-cli -m 2>/dev/null | grep --line-buffered "changed") > "$pipe" &