blob: fd55b427805ca15ca63ba3d26ea5e97361b87995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
printf "\nTo use dispad, start with:\n"
printf "systemctl --user start dispad\n"
printf "\nTo autostart on login\n"
printf "\ncp /usr/share/dispad/user-applications.target ~/.config/systemd/user/"
printf "\nsystemctl --user enable dispad"
printf "\necho 'systemctl --user start user-applications.target' >> ~/.xprofile"
printf "\n\nOr:"
printf "\necho 'systemctl --user start dispad.service' >> ~/.xprofile"
printf "\n\nExample configuration can be found at /usr/share/dispad/dispad.conf.example and can optionally be copied to ~/.dispad\n"
printf "\n"
}
post_upgrade() {
printf "\nRemember to reload systemd user daemons before restarting dispad\n"
printf "systemctl --user daemon-reload\n"
printf "systemctl --user restart dispad\n"
printf "\n"
}
|