[Linux] Fix set wallpaper function

This commit is contained in:
Ivan Malison 2016-10-28 11:37:05 -07:00
parent e3a762951a
commit 86205afec9
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env zsh
wallpaper
wallpaper "$@"

View File

@ -5,7 +5,8 @@ random_paper() {
}
wallpaper() {
feh --bg-center $(random_paper) --bg-scale "$WALLPAPER_DIR"transparent1x1.png
local target_paper=${1:-"$(random_paper)"}
feh --bg-center $target_paper --bg-scale "$WALLPAPER_DIR"transparent1x1.png
}
wallpaper_timer() {