Depending on the number of packages installed and screen resolution the end of the list might get cut-off. noticed it first on low-res monitor.
imagemagick does not scale text to best-fit when using pango, using pango is required for coloring outdated packages.
To solve this I re-write this part using a web-based solution using chromium screenshot option.
I would have preferred using Firefox but it does not allow for it while having another open session which is a limitation which does not fit this tool as it will mostly run in the background while the user might have a running Firefox session.
This should be done by generating a little gui for changing settings.
A shortcut could be created in xfce4 settings using a desktop entry as explained here and an example can be found here
Chromium v111 appears to have an issue when using the --headless and --window-size options and will always default to 800x600.
There is an open bug on the chromium bug tracker - link
Add support for a config file which enables to change some settings for the wallpaper.
There should be an option to create a system-wide config to effect all users and a user specific config file.
I would assume its best to use /etc/app-name for system-wide config and ~/.app-name for the user config file.
file should have all supported settings commented out which should act as a documentation.
This assumes that the user has eDP interface to the monitor and that this is the primary screen in use.
Users might have multiple screens and varying name for the interface.
A fix could be to check which is the primary monitor used and making the query to the detected primary monitor.
Some data could be cached to improve performance, reduce resource, run time and put less stress on remote resources.
remove the waiting time and resource of waiting for query from pacman and checkupdates tool.
get_outdated_packages for improved time, resource usage and remote resouce stress
get_current_packages for improved time and resource usage cache