从各种来源下载/创建和设置墙纸的命令行实用程序。
wallp的Python项目详细描述
wallp随机选择其中一个源,从中下载/创建图像并将其设置为桌面墙纸。
支持的源
联机
- reddit(subreddits,搜索)
- 必应(画廊)
- 谷歌(图像搜索)
- Deviantart
- imgur(搜索、壁纸相册、收藏夹)
- xkcd
脱机
- 单色位图
- 源代码(呈现为图像)
支持的平台
- Python2.7/3.4
- Linux(GNOME或KDE Plasma)
- 窗口
功能
- 永远不要重复一个图像。
- 可以安排更换壁纸。
- 可编辑数据库的子编辑,imgur相册,搜索查询得到壁纸。
- 在一段时间内贴一张壁纸(不要换)。
- 打印有关图像的详细信息,如源URL、大小、路径、用户名、说明等。
- 可以管理收藏夹。
用法
一些示例命令:
wallp # change wallpaper wallp source -h # list all sources wallp schedule add 1h # change wallpaper every 1 hour wallp info # print information about the current wallpaper image wallp config dump # dump the program configuration wallp config disable deviantart # disable deviantart as a source of images wallp config list query add 'linux' # add 'linux' as a query to be used (at random) when searching for wallpapers wallp config list subreddit add pics # add subreddit pics wallp config list imgur-album add SVFae # add imgur album SVFae wallp config set image.max_size 1000000 # limit image size to 1MB wallp source imgur wallpaper-album # select a random wallpaper album from imgur and get a random image from it wallp source google -q 'wallpapers' # query google for 'wallpapers' and get a random image from results wallp keep 1d # like a wallpaper very much? keep it unchanged for 1 day wallp stats # print usage stats wallp -h # get help