https://github.com/star2000/bingwallpaper
Windows 每日必应壁纸 | Windows Daily Bing Wallpaper
https://github.com/star2000/bingwallpaper
bingwallpaper powershell windows
Last synced: 3 months ago
JSON representation
Windows 每日必应壁纸 | Windows Daily Bing Wallpaper
- Host: GitHub
- URL: https://github.com/star2000/bingwallpaper
- Owner: star2000
- License: gpl-3.0
- Created: 2019-08-31T23:09:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-20T13:12:57.000Z (about 2 years ago)
- Last Synced: 2024-01-20T14:26:38.639Z (about 2 years ago)
- Topics: bingwallpaper, powershell, windows
- Language: PowerShell
- Homepage:
- Size: 50.8 KB
- Stars: 42
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BingWallpaper
[](https://github.com/star2000/count)
[](https://github.com/star2000/count)
[](https://github.com/star2000/count)
[](https://github.com/star2000/count)
Windows 每日必应壁纸
每日标准时间 0 点(北京时间 8 点)自动触发
如果没开机或没联网, 则自动延迟
最低支持 Win7、Win2008
## 使用
鼠标移至命令上,连点三次,`Ctrl+C`,`Win+R`,`Ctrl+V`,`Enter`
### 安装
```ps1
powershell [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; (New-Object Net.WebClient).DownloadString('https://cdn.jsdelivr.net/gh/star2000/BingWallpaper@master/install.ps1') | iex
```
### 卸载
```ps1
powershell [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; (New-Object Net.WebClient).DownloadString('https://cdn.jsdelivr.net/gh/star2000/BingWallpaper@master/uninstall.ps1') | iex
```
## 设置
通过环境变量改变行为
```bat
setx "环境变量名" "环境变量值"
```
手动刷新执行
```bat
schtasks /Run /TN "\star2000\BingWallpaper"
```
- 保存路径
- 环境变量名:`WallpaperPath`
- 默认值:无(不保存)
- 可选值:任意有写权限的路径
- 注意:不以`.jpg`结尾时,文件名默认为`%Y-%m-%d.jpg`(年年年年-月月-日日.jpg),参见[UNIX 时间格式](https://docs.microsoft.com/zh-cn/powershell/module/microsoft.powershell.utility/get-date#notes)
- 分辨率
- 环境变量名:`WallpaperResolution`
- 默认值:`1920x1080`
- 可选值:
- `UHD`(原图分辨率,一般 4k 以上)
- `1920x1200`
- `1920x1080`
- `1366x768`
- `1280x768`
- `1024x768`
- `800x600`
- `800x480`
- `768x1280`
- `720x1280`
- `640x480`
- `480x800`
- `400x240`
- `320x240`
- `240x320`
- 国际版
- 环境变量名:`WallpaperEnSearch`
- 默认值:`0`(国内版)
- 可选值:`0`, `1`
- 几天前
- 环境变量名:`WallpaperDaysAgo`
- 默认值:`0`(今天)
- 可选值:`0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`
## [捐赠](https://blog.star2000.work/images/alipay.png)