1
0
Fork 0

make upgrades spawn terminal

This commit is contained in:
Luca Bilke 2024-02-23 14:16:35 +01:00
parent 83235f116a
commit 77d817125d

View file

@ -1,5 +1,10 @@
#!/bin/sh
sudo xbps-install -Syu 1>/tmp/xbps_updates 2>/tmp/xbps_errors || notify-send -u critical "Error downloading updates." "$(cut -d " " -f 1,5 /tmp/xbps_errors)"
st -e sh -c "
sudo xbps-install -Syu
pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
pkill -RTMIN+8 dwmblocks
echo 'All done!'
read -r _
"