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
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
wallpaper
|
wallpaper "$@"
|
||||||
|
@ -5,7 +5,8 @@ random_paper() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wallpaper() {
|
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() {
|
wallpaper_timer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user