diff options
Diffstat (limited to '.config/systemd/user/ntfy@.service')
-rw-r--r-- | .config/systemd/user/ntfy@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/systemd/user/ntfy@.service b/.config/systemd/user/ntfy@.service new file mode 100644 index 0000000..8344170 --- /dev/null +++ b/.config/systemd/user/ntfy@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Start ntfy +PartOf=graphical-session.target +After=network.target + +[Service] +Type=exec +ExecStart=/usr/bin/ntfy subscribe "%i" notify-send "$t" "$m" +Restart=on-failure + +[Install] +WantedBy=desktop.target |