summarylogtreecommitdiffstats
path: root/fsniper.install
blob: 69a607d2ead07f013d93208c48d5f56811caa38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {
  cat <<HERE
Start by copying the sample config file and modify it to your taste:

mkdir ~/.config/fsniper
cp /usr/share/doc/fsniper-git/example.conf ~/.config/fsniper/config

Make sure to use /usr/share/doc/fsniper-git/doc.txt as a reference.

If you want fsniper to start on login and X11/Wayland session is required:
systemctl --user add-wants graphical-session.target fsniper.service

If you still want it to start automatically but it only requires console:
systemctl --user enable fsniper.service
HERE
}

post_remove() {
  cat <<HERE
Consider running

systemctl --user disable fsniper

for all users.
HERE
}