diff --git a/bin/checkupdates.sh b/bin/checkupdates.sh index ff6d511..df446f3 100755 --- a/bin/checkupdates.sh +++ b/bin/checkupdates.sh @@ -52,7 +52,7 @@ if [ -f /tmp/"$CONKYPID" ]; then PKGS=$(pamac checkupdates -aq| wc -l) if [ "$PKGS" != "0" ]; then if [[ "$update_notifications" == "true" ]];then - notify-send.sh -t 0 -i mbcc "$AVAIL_UPDATES" "$PKGS_TO_UPDATE $PKGS" -o "$YAY_UPD:terminator -T '$YAY_UPD' -e yay" \ + 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 ${CNF_FILE}" fi printf "\${font}\${alignr} $AVAIL_UPDATES: \${color red}" diff --git a/bin/conkyctl b/bin/conkyctl index 938ab11..feba7f2 100755 --- a/bin/conkyctl +++ b/bin/conkyctl @@ -6,6 +6,7 @@ BASECONKY="$CONKYDIR/sysinfo_mbcolor.conkyrc" SESSIONFILE="$CONKYDIR/conky-sessionfile" update_session () { + sleep 1 :> "${SESSIONFILE}" while read -r pid b c confpath do