Dotfiles/desktopenvs/niri/scripts
Amir Alexander Abdelbaki f90dbdae8b feat(presence-detect): switch to motion detection, adaptive interval, shared caffeine lock
Replace the Haar-cascade face detector with lightweight frame-differencing
motion detection so the daemon can poll every 20s (backing off to 120s under
heavy CPU/RAM load) without adding noticeable overhead.

Presence detection now shares caffeine's systemd-inhibit lock instead of
holding its own, so the caffeine status widget reflects either source. A new
ownership flag ensures the daemon only ever releases a lock it acquired
itself, so a manually-started caffeine session is never interrupted by the
user stepping away. Also re-enables the daemon in hyprlua's autostart (was
previously only wired up for niri).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-10 16:23:49 +02:00
..
workspacefocus feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
_toggle_Template.tmplsh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
activewindow feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
amssh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
batteryperc feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
bluetooth-applet.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
caffeine.sh feat(presence-detect): switch to motion detection, adaptive interval, shared caffeine lock 2026-07-10 16:23:49 +02:00
calender-fix.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
date.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
drawer.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
dysk-phydisks.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
enroll-biometrics.sh feat(hyprlua/niri): webcam presence detection + systemd-inhibit idle/caffeine 2026-06-11 14:50:36 +02:00
ewwstart.sh fix(eww): stop duplicate stacked bars from ewwstart race 2026-06-28 02:23:45 +02:00
foldersearch.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
frequentcommands.list feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
getispeed.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
getvol feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
helpmenu.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
ip feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
journal.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
menu.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
monitorhandler.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
niri-toggle-touchpad.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
playerget feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
playpause.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
presence-detect.sh feat(hyprlua/niri): webcam presence detection + systemd-inhibit idle/caffeine 2026-06-11 14:50:36 +02:00
pwr-dmenu.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
python feat(hyprlua/niri): webcam presence detection + systemd-inhibit idle/caffeine 2026-06-11 14:50:36 +02:00
screenrec.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
screenrotationacw.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
screenrotationwcw.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
screenshot.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
time.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
timer-notify.sh.old feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
timer-pick feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
timer-run feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
timer.sh.old feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
toggle-layout.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
togglebar.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
ulwatchdog.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
unified-rotate.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
uptime.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
wallpaper-picker feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
windowswitcher feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
wofi-file-search.sh feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00
workspace feat(niri): add Niri as a full desktop environment option 2026-06-01 16:38:47 +02:00