Commit Graph
5 Commits
Author SHA1 Message Date
Lemmy 0cd40d6715 enforce max 120 chars description 2026-07-15 23:04:53 -04:00
Lemmy c057379c91 docs: standardize and validate plugin READMEs 2026-07-15 21:56:42 -04:00
LemmyandGitHub ca3f8dce74 Update tags in plugin.toml
Removed 'notifications' tag from plugin.toml.
2026-07-14 21:32:14 -04:00
wioletowaandClaude Fable 5 5e9027da1a fix(sharednd): address review — stop/start race, onExit cleanup, no busy loop off niri
- Debounce stop transitions by 1 s (host update tick): a stop/start pair
  from switching casts collapses into no transition, so the async
  `dnd-set off` can no longer race the `dnd-status` query and drop
  ownership mid-share. Also stops DND flapping.
- Add onExit: if the plugin owns DND when disabled/reloaded, turn it off
  via a detached runAsync (survives VM teardown).
- Gate detection on NIRI_SOCKET + commandExists("niri") instead of an
  unconditional retry loop: on other compositors (or niri installed but
  not running) the service now spawns nothing. If NIRI_SOCKET is set but
  the binary is missing from PATH, warn once.
- Make the stream retry loop self-terminating (parent gone or niri
  socket removed): hard host exits skip process-group cleanup and were
  leaking orphaned loops that respawned `niri msg` every 3 s across
  sessions (observed 11 such orphans over 4 days).
- Bump version to 1.1.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 18:30:29 +03:00
wioletowaandClaude Fable 5 704fa538b0 feat: add whyoolw/sharednd — auto DND while screen sharing (niri)
Headless service that follows niri msg -j event-stream and enables
notification Do Not Disturb via the host IPC (notification-dnd-set)
while at least one screencast is active, restoring it afterwards.

Side effects: spawns a persistent shell retry loop around
`niri msg -j event-stream`, runs `niri msg -j casts` /
`niri msg version` and `noctalia msg notification-dnd-*` on demand.
No network access, no filesystem writes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 01:28:53 +03:00