From 667e0e592223bcdebb0e2aac402c2c7c1444441d Mon Sep 17 00:00:00 2001 From: Allen Abraham Date: Wed, 9 Sep 2026 16:03:27 -0400 Subject: [PATCH] Install the omarchy-camera-watch user unit omarchy/pipewire-camera-sharing adds omarchy-camera-watch, a user service that names the app holding a camera over V4L2 when everything else reports no camera. Its unit has to reach /usr/lib/systemd/user, where systemd looks, or first-run's single enable call fails for every unit the way it did for omarchy-crash-watch (#140). Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01G7WrCNgrPvtXzrYpC1pioy --- pkgbuilds/omarchy-settings-dev/PKGBUILD | 1 + pkgbuilds/omarchy-settings/PKGBUILD | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgbuilds/omarchy-settings-dev/PKGBUILD b/pkgbuilds/omarchy-settings-dev/PKGBUILD index 6c7f8d987..f8e2164ac 100644 --- a/pkgbuilds/omarchy-settings-dev/PKGBUILD +++ b/pkgbuilds/omarchy-settings-dev/PKGBUILD @@ -193,6 +193,7 @@ package() { install -Dm644 default/systemd/user/omarchy-tailscale-receive.service "$pkgdir/usr/lib/systemd/user/omarchy-tailscale-receive.service" install -Dm644 default/systemd/user/omarchy-fcitx5.service "$pkgdir/usr/lib/systemd/user/omarchy-fcitx5.service" install -Dm644 default/systemd/user/omarchy-crash-watch.service "$pkgdir/usr/lib/systemd/user/omarchy-crash-watch.service" + install -Dm644 default/systemd/user/omarchy-camera-watch.service "$pkgdir/usr/lib/systemd/user/omarchy-camera-watch.service" # Marks app.slice (and only app.slice) as a systemd-oomd kill candidate, so # memory pressure costs one app scope instead of the compositor session. # Thresholds live in etc/systemd/oomd.conf.d/10-omarchy.conf. Both this and diff --git a/pkgbuilds/omarchy-settings/PKGBUILD b/pkgbuilds/omarchy-settings/PKGBUILD index 0d063f3c4..87ebe7ca6 100644 --- a/pkgbuilds/omarchy-settings/PKGBUILD +++ b/pkgbuilds/omarchy-settings/PKGBUILD @@ -188,6 +188,7 @@ package() { install -Dm644 default/systemd/user/omarchy-tailscale-receive.service "$pkgdir/usr/lib/systemd/user/omarchy-tailscale-receive.service" install -Dm644 default/systemd/user/omarchy-fcitx5.service "$pkgdir/usr/lib/systemd/user/omarchy-fcitx5.service" install -Dm644 default/systemd/user/omarchy-crash-watch.service "$pkgdir/usr/lib/systemd/user/omarchy-crash-watch.service" + install -Dm644 default/systemd/user/omarchy-camera-watch.service "$pkgdir/usr/lib/systemd/user/omarchy-camera-watch.service" # Marks app.slice (and only app.slice) as a systemd-oomd kill candidate, so # memory pressure costs one app scope instead of the compositor session. # Thresholds live in etc/systemd/oomd.conf.d/10-omarchy.conf. Both this and