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.
11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
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
|
|
}
|