bingpaper
在命令行中,拉取 bing 每日图片,设置桌面壁纸。
安装
从create安装
cargo install bingpaper
源码安装
git pull 项目,在项目根目录下,执行:
cargo install --force --path .
默认在niri桌面的dms使用。
如果在xfce4使用,执行:
cargo install --no-default-features --features=xfce --force --path .
使用方法:
❯ bingpaper --help
Get wallpaper from bing's daliy picture
Usage: bingpaper <COMMAND>
Commands:
get Get pictures from bing
set Set wallpaper using picture in Wallpapers
list List all picture in Wallpapers
current Query current picture in screen
screen Show screen infos
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
注意事项:
需要在环境变量中设置图片存放的路径:
BING_PAPER_HOME=/path/to/pictures
get命令的使用方法:
先执行:bingpaper get,获取bing每日图片列表,会在BING_PAPER_HOME下生成content.json。
选择想要下载的图片日期,例如:bingpaper get -t 20260405。会下载对应图片,并设置成桌面背景。
支持的平台: