xyproto / wallutils

:city_sunset: Utilities for handling monitors, resolutions, wallpapers and timed wallpapers
BSD 3-Clause "New" or "Revised" License
462 stars 17 forks source link

[Feature Request] PCManFM-qt handling for LXQt sessions (X11/Wayland) #46

Open Bluey26 opened 2 days ago

Bluey26 commented 2 days ago

Hello, i discovered this set of utilities yesterday and i figured out how to use it with some .xml files i have found in the web.

After i did that, i realized that the settimed path_to_xml_file works in LXQt (Labwc WM, Wayland) but unfortunately swaybg displays the background image over the folders and icons, so i cannot use it.

In X11 LXQt session, the opposite happens: the feh picture is displayed in bottom, and only is seen when i logout.

I was wondering if it would be possible to support PCManFM-Qt way to change the wallpapers, at least for settimed, in a way that triggering settimed will execute the following:

pcmanfm-qt --set-wallpaper=path_to_wallpaper

instead of the swaybg or the feh ones. This could allow both X11 and Wayland LXQt sessions to use dynamic wallpapers with this tool set.

Unfortunately this is not supported by PCManFM-Qt since that file-manager is present in a lot of WMs and Sessions, which makes it hard to be implemented.

I also was wondering if you know an easy way to transform the .avif to a set of pictures and a .xml file, and if it was possible to extract the information of .heic files and do a.xml too.

Thanks in advance.

PS: When i refer to .xml files, i mean something as this: https://github.com/japamax/gnome-kde-dynamic-wallpaper-mojave/blob/master/mojave-timed.xml which seems to work for settimed, after changing the paths of the pictures to the correct ones in my device.

PS2: I am using the version wallutils 5.12.7-1 found in the official Arch Linux repositories.

PS3: You can have a look at the issue instaling PCManFM-Qt and launching it in the desktop mode, using:

pcmanfm-qt --desktop

xyproto commented 2 days ago

Thanks for the feature request! I am positive to adding support for PCManFM-Qt.