Skip to content

Install omarchy-audio-mute-led-watch.service into /usr/lib/systemd/user - #441

Draft
abguymon wants to merge 1 commit into
omacom:masterfrom
abguymon:install-audio-mute-led-watch-unit
Draft

abguymon wants to merge 1 commit into
omacom:masterfrom
abguymon:install-audio-mute-led-watch-unit

Conversation

@abguymon

Copy link
Copy Markdown

Companion to omacom/omarchy#6897, which adds a PipeWire watcher that keeps the speaker and mic mute LEDs in step. That PR ships default/systemd/user/omarchy-audio-mute-led-watch.service, the watcher binary, an enable-user-units.sh entry, and a migration — but the unit only reaches /usr/lib/systemd/user/ if this package installs it explicitly.

Without this line, omarchy-settings ships the unit into the default/ template tree and nowhere systemd looks. install/user/first-run/enable-user-units.sh enables its units in a single systemctl --user enable --now call, so the missing unit fails the whole call, omarchy-provision-first-run never marks first-run-user, and first-run replays on every login.

That is exactly what #6746 hit before 2aa5c50 added the omarchy-crash-watch.service line, so this is the same one-line fix applied ahead of the breakage rather than after it.

Both new bin/ scripts already ship — the omarchy PKGBUILD installs bin/* wholesale — so the unit is the only gap.

Draft: ordering

source= pins _commit, currently 0534987, where default/systemd/user/omarchy-audio-mute-led-watch.service does not exist. Merging this before _commit moves past the #6897 merge would make install -Dm644 fail on a missing source and break the omarchy-settings build.

Merge this as part of the release that picks up #6897, or any time after _commit is bumped past it. Keeping it in draft until then.

🤖 Generated with Claude Code

omacom/omarchy#6897 adds the unit under default/systemd/user/ along with the
watcher binary, an enable-user-units.sh entry, and a migration. Without an
install line here, omarchy-settings would ship the unit only into the default/
template tree and never into the search path systemd actually reads.

install/user/first-run/enable-user-units.sh enables its units in a single
`systemctl --user enable --now` call, so a missing unit fails the whole call and
first-run never completes -- the same breakage #6746 hit before 2aa5c50 added
the omarchy-crash-watch.service line.

Do not merge until _commit is bumped past the #6897 merge: the unit does not
exist at the currently pinned 0534987, so this install would fail the build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant