change intervall

This commit is contained in:
2025-09-08 17:34:27 +02:00
parent 4a30b0b154
commit 1faa99bf48
3 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
pkgname=update-notifier
pkgver=1.0.2
pkgrel=3
pkgver=1.0.3
pkgrel=4
pkgdesc="notifies when updates are available via checkupdates"
arch=('x86_64')
depends=('pacman-contrib')

View File

@@ -4,5 +4,7 @@
n=$(checkupdates | wc -l)
if [ "$n" != "0" ]; then
notify-send "System update" "$n updates available."
else
notify-send "No updates"
fi
notify-send "hallo"

View File

@@ -3,7 +3,7 @@ Description=Runs update-notifier periodically
[Timer]
OnBootSec=5min
OnUnitActiveSec=3h
OnUnitActiveSec=10min
Unit=update-notifier.Service
[Install]