軟體程式設計

多資料夾抽桌布

https://github.com/sugigu/MultiFolderWallpaperSync WallpaperSync A small PowerShell wallpaper randomizer for Windows. WallpaperSync picks a wallpaper from multiple folders using a two-level random selection: Randomly pick one valid folder from your configured folder list. Randomly pick one image from the selected folder. After setting the wallpaper, it also asks Windows to refresh the desktop settings so the Windows accent color can update from the new wallpaper, similar to the native Windows behavior when setting an image as desktop background. Because apparently even changing wallpaper needs a small ritual sacrifice to the Windows personalization subsystem. Features Supports multiple wallpaper folders Two-level random selection: folder first, image second Searches images recursively inside each configured folder Skips folders that do not exist or contain no supported images Avoids selecting the same image twice in a row when possible Converts the selected image to a cached JPG before applying it Does not lock the original source image file Sets the wallpaper using the native Windows API Triggers Windows setting refresh so accent color can update Stores cache under %LOCALAPPDATA%\WallpaperSync

80
・2026/08/03 更新

Evan

一週前上線平均 -- 回覆