removeupdate via pamac
This commit is contained in:
@@ -71,11 +71,10 @@ esac
|
||||
|
||||
notify_updates_available() {
|
||||
if [ "${1}" == "-p" ];then
|
||||
notify-send.sh -u critical -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay" \
|
||||
-o "$PAMAC_UPD:pamac-manager --updates"
|
||||
notify-send.sh -u critical -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay"
|
||||
else
|
||||
notify-send.sh -u critical -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay" \
|
||||
-o "$PAMAC_UPD:pamac-manager --updates" -o "$DISABLE:mb-setvar update_notifications=false"
|
||||
-o "$DISABLE:mb-setvar update_notifications=false"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user