What is the request?
A feature addition for wallpapers widget where the user can add separate paths for both light theme and dark theme, which also dynamically changes with the current os theme color.
Why is it useful?
This is useful as not only does it enable users to organize their wallpapers but also adapt it to the os theme as well.
How could it be implemented?
can be implemented like this:
wallpapers:
type: "yasb.wallpapers.WallpapersWidget"
options:
label: "<span>\udb83\ude09</span>"
path: str # This lets user to choose either to use dynamic paths (`dark`/`light`) based on the os theme color with "dynamic" or use "normal" image path
image_path:
dark: "$env:USERPROFILE/Pictures/Wallpapers/Home Screen/Dark"
light: "$env:USERPROFILE/Pictures/Wallpapers/Home Screen/Light"
normal: "$env:USERPROFILE/Pictures/Wallpapers/Home Screen"
...
Then gallery fetches then automatically based on the path provided. then the wallpaper changes on the event of theme color toggle.
Additional context
Nothing much, everything is explained above. Hope this possible to implement and taken into consideration for the upcoming major release.
What is the request?
A feature addition for
wallpaperswidget where the user can add separate paths for both light theme and dark theme, which also dynamically changes with the current os theme color.Why is it useful?
This is useful as not only does it enable users to organize their wallpapers but also adapt it to the os theme as well.
How could it be implemented?
can be implemented like this:
Then
galleryfetches then automatically based on the path provided. then the wallpaper changes on the event of theme color toggle.Additional context
Nothing much, everything is explained above. Hope this possible to implement and taken into consideration for the upcoming major release.