adi1090x / polybar-themes

A huge collection of polybar themes with different styles, colors and variants.
GNU General Public License v3.0
5.59k stars 407 forks source link

module update issue in debian #186

Open thegreatyellow67 opened 1 year ago

thegreatyellow67 commented 1 year ago

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!

quiltedstars commented 1 year ago

Having same issue on Void Linux! Have a feeling it has to do with something in checkupdates