forked from colonelpanic/dotfiles
[Linux] Fix set wallpaper function
This commit is contained in:
parent
e3a762951a
commit
86205afec9
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
wallpaper
|
||||
wallpaper "$@"
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user