diff options
author | doc <doc@filenotfound.org> | 2025-07-27 21:40:33 +0000 |
---|---|---|
committer | doc <doc@filenotfound.org> | 2025-07-27 21:40:33 +0000 |
commit | d24f56519425c3dd4a4e016002f9305957895afb (patch) | |
tree | e71c69712928d4c06711c54b6c1ff3dfa6566e5d /dunstapt.sh | |
parent | c15d45611d7d0a161111baf75b6e52d753552d19 (diff) |
Diffstat (limited to 'dunstapt.sh')
-rwxr-xr-x | dunstapt.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dunstapt.sh b/dunstapt.sh new file mode 100755 index 0000000..6cae44b --- /dev/null +++ b/dunstapt.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +dunstify -r 9999 -h int:value:0 "APT" "Running update..." +sudo apt update + +dunstify -r 9999 -h int:value:0 "APT" "Running upgrade..." + +( + for i in $(seq 1 10 100); do + dunstify -r 9999 -h int:value:$i "APT Upgrade" "$i% complete..." + sleep 2 + done +) & + +sudo apt upgrade -y + +dunstify -r 9999 -h int:value:100 "APT Upgrade" "System is fully upgraded!" |