bingpaper 1.2.1

在命令行中,拉取 bing 每日图片,设置桌面壁纸。
Documentation

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 daliy picture 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

支持的平台:

  • linux xfce4
  • linux niri