From 1faa99bf4801746281f062eb7be49a68a697e15b Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Mon, 8 Sep 2025 17:34:27 +0200 Subject: [PATCH] change intervall --- PKGBUILD | 4 ++-- update-notifier | 4 +++- update-notifier.timer | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index b4ed88d..bb83d8e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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') diff --git a/update-notifier b/update-notifier index 9deb454..9bca18a 100755 --- a/update-notifier +++ b/update-notifier @@ -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" + diff --git a/update-notifier.timer b/update-notifier.timer index e061ce5..200faa7 100644 --- a/update-notifier.timer +++ b/update-notifier.timer @@ -3,7 +3,7 @@ Description=Runs update-notifier periodically [Timer] OnBootSec=5min -OnUnitActiveSec=3h +OnUnitActiveSec=10min Unit=update-notifier.Service [Install]