make upgrades spawn terminal
This commit is contained in:
parent
83235f116a
commit
77d817125d
1 changed files with 7 additions and 2 deletions
|
@ -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 _
|
||||
"
|
||||
|
|
Loading…
Add table
Reference in a new issue