thytom / dwmbar

A Modular Status Bar for dwm.
GNU General Public License v3.0
127 stars 23 forks source link

Hide Updates if none #33

Closed Lygaen closed 1 year ago

Lygaen commented 2 years ago

Hi ! I realized while using the "archupdates" modules that it is still showing even thought there is not update to do, using a lot of space for nothing. Is it possible to disable/hide it when no updates are available ? It could even be a feature ! Thanks,

Lygaen

thytom commented 2 years ago

Hello,

Sorry, I've not been so active on maintaining this since I stopped using it but I glanced at this and it seemed easy. If you still want this, you can download the 33-arch-updates branch and test it out. If it works like you want, I'll merge it into the master.

To test out the new module, you can just copy the archupdates script from the modules directory into the custom modules folder. See the "Writing Modules" section of the readme for more info.