From 3840003c26c4d3183cb842787e9f381f7265ef0c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:21 +0100 Subject: feat(units): seed user unit lists from managed drop-ins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Curate the user units whose definitions or overrides we manage under dot_config/systemd/user/: - graphical.txt: cliphist-{image,text}, display-watcher, swayidle, waybar — all WantedBy=sway-session.target. - mail.txt: protonmail-bridge.service — managed via a drop-in override. Also extend user/.ignore with the socket-activated pipewire/wireplumber stack and a handful of distro defaults so 'just unit-status' stays quiet on a clean system. --- systemd-units/user/.ignore | 9 +++++++++ systemd-units/user/graphical.txt | 8 ++++++++ systemd-units/user/mail.txt | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 systemd-units/user/graphical.txt create mode 100644 systemd-units/user/mail.txt diff --git a/systemd-units/user/.ignore b/systemd-units/user/.ignore index 1a7e6d9..9f95ce0 100644 --- a/systemd-units/user/.ignore +++ b/systemd-units/user/.ignore @@ -2,3 +2,12 @@ # Typically defaults pulled in by graphical-session / xdg-desktop-portal that # are neither worth curating nor worth disabling. One unit per line, # comments OK. +# Socket-activated audio stack (pipewire + wireplumber), pulled in by the +# session; enabled state is set by the distro package, not by us. +pipewire.socket +pipewire-pulse.socket +wireplumber.service + +# Misc default user services we neither enable nor disable. +p11-kit-server.socket +xdg-user-dirs.service diff --git a/systemd-units/user/graphical.txt b/systemd-units/user/graphical.txt new file mode 100644 index 0000000..93b9584 --- /dev/null +++ b/systemd-units/user/graphical.txt @@ -0,0 +1,8 @@ +# User units that compose the sway graphical session. +# All are WantedBy=sway-session.target so enabling them wires them into +# the session; sway itself starts sway-session.target on login. +cliphist-image.service +cliphist-text.service +display-watcher.service +swayidle.service +waybar.service diff --git a/systemd-units/user/mail.txt b/systemd-units/user/mail.txt new file mode 100644 index 0000000..1f7804c --- /dev/null +++ b/systemd-units/user/mail.txt @@ -0,0 +1,2 @@ +# User services we override via drop-ins in dot_config/systemd/user/. +protonmail-bridge.service -- cgit v1.3.1