aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/ntfy@.service
blob: 6f2587becc6adfbc8b881733da9076b6de8daad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Start ntfy
PartOf=graphical-session.target
After=network.target

[Service]
Type=exec
ExecSearchPath=%h/.local/bin
ExecSearchPath=/usr/local/bin
ExecSearchPath=/usr/bin
ExecStart=ntfy subscribe "%i" 'notify-send "$t" "$m"'
Restart=on-failure

[Install]
WantedBy=desktop.target