diff options
-rw-r--r-- | .config/ntfy/client.yml | 1 | ||||
-rw-r--r-- | .config/systemd/user/ntfy@.service (renamed from .config/systemd/user/ntfy.service) | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/ntfy/client.yml b/.config/ntfy/client.yml new file mode 100644 index 0000000..f85515e --- /dev/null +++ b/.config/ntfy/client.yml @@ -0,0 +1 @@ +default-host: https://ntfy.tyil.nl diff --git a/.config/systemd/user/ntfy.service b/.config/systemd/user/ntfy@.service index 0906333..8344170 100644 --- a/.config/systemd/user/ntfy.service +++ b/.config/systemd/user/ntfy@.service @@ -1,10 +1,11 @@ [Unit] Description=Start ntfy PartOf=graphical-session.target +After=network.target [Service] Type=exec -ExecStart=/usr/bin/ntfy subscribe --from-config +ExecStart=/usr/bin/ntfy subscribe "%i" notify-send "$t" "$m" Restart=on-failure [Install] |