Qtile bar issue

i have added the qtile widget for updates in my bar and i have been reading the qtile documentation but the update interval wont refresh or the colors wont change in my bar

widget.Pacman(
update_interval = 60,
custom_command = ‘checkupdates | wc -l’,
colour_have_updates="#f54029",
colour_no_updates="#ffffff",
),

Does that custom command work in a terminal or does it produce an error message?

Maybe the pacman-contrib package is not installed and you can’t run the checkupdates command.

1 Like

yes it works no errors just trying to figure out the update interval problem and why its not changing colors or even hide so when there is a update it pops up red

i think i have pacman-contrib or pacache commands wouldnt work, il go check.