coffebar / waybar-module-pacman-updates

waybar module for Arch to show system updates available
GNU General Public License v3.0
44 stars 4 forks source link

Flatpaks? #3

Open 5p4r74cu5 opened 8 months ago

5p4r74cu5 commented 8 months ago

Hey there :-) thanks for working on this, it was just what I was looking for.

I'm just wondering if you could add a flatpak update check to the module?

coffebar commented 8 months ago

Hi, it seems to me having a separate icon is better, because you will know where updates come from.

Not sure, does flatpack have a command to show a list of updates without doing updates?

5p4r74cu5 commented 8 months ago

Hi, it seems to me having a separate icon is better, because you will know where updates come from.

Agreed :-)

Not sure, does flatpack have a command to show a list of updates without doing updates?

I just did a bit of reading and apparently it isn't implemented yet, so it would require something a little less direct. Working with exit codes and command outputs in scripts is something I still don't understand yet, so I'm not sure if this helps, but when there are no updates available after executing flatpak update, the final output is Nothing to do.

coffebar commented 8 months ago

waybar module should not run system upgrade by itself, so "flatpack update" is not helpful

5p4r74cu5 commented 8 months ago

Oh well, guess I'll wait for that feature ;-)

alexlnkp commented 4 months ago

waybar module should not run system upgrade by itself, so "flatpack update" is not helpful

Some time has passed and the pull request mentioned in the issue above has been merged! flatpak remote-ls --updates is the command that is mentioned there.