diff --git a/flexiflow/.config/flexiflow/flexiflow_bar/bar_updates.ini b/flexiflow/.config/flexiflow/flexiflow_bar/bar_updates.ini index 2fd84f56c..a72cd3925 100644 --- a/flexiflow/.config/flexiflow/flexiflow_bar/bar_updates.ini +++ b/flexiflow/.config/flexiflow/flexiflow_bar/bar_updates.ini @@ -1,2 +1,2 @@ -LastUsed=1692530530 -Message=' Fully Updated' +LastUsed=1692531430 +Message='Fully Updated' diff --git a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates index 19a9d741b..a66e6f39c 100755 --- a/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates +++ b/flexiflow_bar/.local/bin/flexiflow_bar/bar_updates @@ -10,11 +10,11 @@ get_updates() { icon="  " if [ -z "$updates" ]; then - updatecount=" Fully Updated" + updatecount="Fully Updated" elif [ "$updates" -ge "1" ]; then - updatecount=" $updates Update" + updatecount="$updates Update" else - updatecount=" $updates Updates" + updatecount="$updates Updates" fi [[ -f $configFile ]] && . $configFile if [[ -z "$LastUsed" ]] || [[ -z "$Message" ]]; then @@ -27,7 +27,7 @@ get_updates() { newtime=$(expr $timestamp + 900) echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile else - updatecount="$Message" + updatecount=" $Message" printf " %s %s \n" "^c$Foreground^^b$Red^$icon" "^c$Foreground^^b$Red_Bright^$updatecount" fi fi