This commit is contained in:
2025-08-25 22:31:15 +02:00
commit 4a30b0b154
5 changed files with 42 additions and 0 deletions

8
update-notifier Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
#export DBUS_SESSION_BUS_ADDRESS="${DBUS_SESSION_BUS_ADDRESS:-unix:path=/run/user/${UID}/bus}"
#export DISPLAY=:0
n=$(checkupdates | wc -l)
if [ "$n" != "0" ]; then
notify-send "System update" "$n updates available."
fi
notify-send "hallo"