macOS
brew install wallpaperlocal Homebrew formula metadata
安装
brew install wallpaperlocal Homebrew formula metadata
概览
Manage the desktop wallpaper
历史
macOS Wallpaper is Sindre Sorhus's focused utility and Swift package for getting and setting the desktop wallpaper on macOS. It exists in the long-running niche of command-line desktop customization, where macOS behavior around multiple screens, Spaces, dynamic wallpapers, and interval-rotating folders has historically made simple scripts brittle.
The project was already releasing as the `wallpaper` command by 2016, when version 1.2.0 added support for desktop backgrounds configured to change on an interval. In 2018, version 2.0.0 was a notable transition: the project was rewritten in Swift, gained multiple-screen support, changed the CLI to explicit `get` and `set` subcommands, and became available as a Swift Package Manager API.
Subsequent releases track macOS platform changes rather than broad feature growth. Releases added Apple silicon support in 2022 and compatibility fixes for newer macOS versions, including macOS 26 fixes in 2025 and 2026.
The command is used in scripts and small automation workflows that need a stable `wallpaper get` or `wallpaper set` interface instead of direct AppleScript, Dock database, or System Events snippets. The README notes that the package handles the active wallpaper correctly even when the system wallpaper is set to a directory.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wallpaper | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:wallpaper |
|---|---|
| 版本 | 2.3.4 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/sindresorhus/macos-wallpaper |
| 仓库 | https://github.com/sindresorhus/macos-wallpaper |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.