Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

systemd Health

A quiet bar chip for Omarchy v4 that appears only when something is broken: it shows the count of failed systemd units (system and user scope) and names them in the tooltip. When everything is healthy it takes no bar space at all.

Failures surface within a second — a journal follow on systemd's two failure message IDs triggers an immediate re-check — and recoveries are caught by a slow safety poll (systemctl reset-failed writes no journal entry, so a pure event watcher would show stale failures).

Install

omarchy plugin add https://github.com/devmobasa/omarchy-systemd-health --enable

Scripting

omarchy-shell community.systemd-health check    # re-check now
omarchy-shell community.systemd-health status   # failed-unit JSON

Notes

  • Reading the system journal needs membership in wheel, adm, or systemd-journal (standard on Omarchy); without it, failures still surface via the safety poll, just up to two minutes later.
  • The journal follow runs once per machine (not per monitor) and is tied to the shell's lifetime via setpriv --pdeathsig.

Tests

OMARCHY_PATH=/path/to/omarchy ./test/all

License

MIT

About

A quiet chip that appears only when systemd units are failed, naming them

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages