[Powershell] Set wallpaper folders for light and dark mode #998
Replies: 4 comments 6 replies
-
|
This is a really cool idea. Maybe we'll look into pulling this into the ADM Wallpaper core! |
Beta Was this translation helpful? Give feedback.
-
|
It doesn't work for stupid me. Where do I have to put the *.ps1 files? In the same folder as the pictures? Or next the .yaml file?...AppData\Roaming\AutoDarkMode? |
Beta Was this translation helpful? Give feedback.
-
|
现在win11 本身就是支持文件夹图片,只是安顺序展示。 |
Beta Was this translation helpful? Give feedback.
-
|
Windows 11 itself supports setting wallpaper folders, mouse, and sound for dark and light themes, then naming and saving the theme. Typically, when we manually select the corresponding theme name, it switches to dark or light mode, and the wallpaper folder, mouse, sound, and other settings also switch along with the theme name. This plugin for Powershell only needs to be able to choose the user-defined and saved theme name, without using the system's built-in dark or light color, so that the theme border and wallpaper can be switched uniformly. Currently I use the Auto Dark Mode tool. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This script allows you to choose a random image from some folder everytime you switch to light mode, and from a seperate folder when switching to dark mode.
First create a folder for day wallpapers and another for night ones. I called my folders "day" and "night". Similarly, we have two Powershell scripts. I called mine "SetWallpaperDay.ps1" and "SetWallpaperNight.ps1".
Inside of scripts.yaml:SetWallpaperDay.ps1:SetWallpaperNight.ps1:Let me know if this works on your system and any suggestions. Have a great day!
Beta Was this translation helpful? Give feedback.
All reactions