You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I test the script in terminal it works like a charm, because if there aren't no updates it echoes "None", but if the are 1 or more updates it echoes the number of packages to update.
Instead in the module bar always remain the label "None" and I really don't understand why!! :-(
Has anyone with Debian resolved this issue?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm using Debian testing with bspwm and the "wonderful" polybar themes, my choice was forest.
So, In script "updates.sh" I've changed:
get_total_updates() { UPDATES=$(~/.config/polybar/forest/scripts/checkupdates 2>/dev/null | wc -l); }
with:
get_total_updates() { UPDATES=$(aptitude search "~U" | wc -l); }
if I test the script in terminal it works like a charm, because if there aren't no updates it echoes "None", but if the are 1 or more updates it echoes the number of packages to update.
Instead in the module bar always remain the label "None" and I really don't understand why!! :-(
Has anyone with Debian resolved this issue?
Thanks!
The text was updated successfully, but these errors were encountered: