9 lines
264 B
Bash
Executable File
9 lines
264 B
Bash
Executable File
#!/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"
|