bt-volume-step: print the enable command after install

Packages must not enable units themselves: the Arch default preset is
"disable *", and a user unit cannot be enabled from a pacman transaction
anyway, which runs as root without the user's session bus.
This commit is contained in:
Felitendo committed 2026-08-16 03:20:31 +02:00
1 parent 00a30b119b
commit b3cb379a48
2 files changed
+15

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
post_install() {
cat <<'EOF'
==> bt-volume-step ships a systemd user unit. Enable it for your session:
==>
==> systemctl --user enable --now bt-volume-step
==>
==> Then use the volume control on a connected Bluetooth device a few times:
==> the daemon measures that device's volume grid before it starts correcting.
EOF
}