checkup: open terminal for upgrades
This commit is contained in:
parent
b505dc9229
commit
bf8291a28b
|
@ -3,7 +3,7 @@
|
|||
pkill -RTMIN+8 dwmblocks
|
||||
|
||||
askupgrade() {
|
||||
[ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && upgrades
|
||||
[ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && $TERMCMD upgrades
|
||||
}
|
||||
|
||||
\xbps-install -SMun 1>/tmp/xbps_updates 2>/tmp/xbps_errors
|
||||
|
|
Loading…
Reference in New Issue