While this works, we cannot have it by default as it presents a security/privacy concern - it exposes user's potentially private files to the other users on the system.
The solution is to have an option for this, with a warning about the security concerns, not enabled by default, and to do these actions in the python code conditionally, not in set_wallpaper.
Note to myself:
While this works, we cannot have it by default as it presents a security/privacy concern - it exposes user's potentially private files to the other users on the system.
The solution is to have an option for this, with a warning about the security concerns, not enabled by default, and to do these actions in the python code conditionally, not in set_wallpaper.