When idle is inhibited manually (a caffeine toggle, not this daemon), the lock is held regardless of presence, so polling the camera is pointless. Guard the loop: if the shared idle lock is alive but we don't own it (same test as caffeine-manual-status.sh), skip the read and leave the camera free for other apps for the whole manual session. PRESENCE_FLAG is cleared while skipping, since we're no longer watching — so the widget's presence input reads false during a manual session instead of showing a stale "camera sees you". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| hyprland | ||
| hyprlua | ||
| niri | ||
| sway | ||
| migrate-hyprland-to-hyprlua.sh | ||