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