init
This commit is contained in:
8
update-notifier
Executable file
8
update-notifier
Executable 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"
|
||||
Reference in New Issue
Block a user