Skip to content

[Feature Request] Hide tray icon when no updates are available

Philip Müller requested to merge meshy:hide-icon-without-update into master

Created by: meshy

Hi! First off -- thank you for all the work that's been put into this tool!

pamac-tray is the only tray icon active on my machine most of the time, and it inspires gnome shell to show this little box:

screenshot from 2015-08-01 12-22-21

It's really useful when there are updates to apply, but as I don't use the tray icon to open the package manager, the icon is just a distraction for me the rest of the time.

I have added an option here to hide it when there are no updates, and would appreciate it if you would consider merging it. I have also tried to make it backwards compatible with the existing behaviour and defaults.

I've never written anything in vala before, so if there's any way that I could improve this for merging, I would appreciate the heads up. I'm very open to recommendations for better config/variable names too.

Hope this is handy!

Merge request reports