Read settings from a config file

Source ~/.config/update-notify/config to override THRESHOLD, AUR_REPO
and KERNELS, so settings survive package upgrades. The threshold
argument still takes precedence, so drop it from the service. Add a
commented sample config.
This commit is contained in:
Daniele Fucini
2026-10-14 18:56:17 +02:00
parent aca5a0213e
commit 8c94be5a08
4 changed files with 43 additions and 23 deletions
+1 -1
View File
@@ -2,5 +2,5 @@
Description=Notify if updates are available
[Service]
ExecStart=/usr/bin/update-notify 30
ExecStart=/usr/bin/update-notify
Type=oneshot