- added sync media directories
- zsh plugin update
This commit is contained in:
yage
2022-02-10 11:12:21 -07:00
committed by yage
parent 6f7fca0029
commit 4c274248f1
12 changed files with 43 additions and 30 deletions

14
bin/set-background Executable file
View File

@ -0,0 +1,14 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
[ ! -d $WALLPAPER_PATH ] && exit 1
case $1 in
random )
feh --recursive --randomize --bg-fill $WALLPAPER_PATH
;;
* )
[ ! -f $WALLPAPER_PATH/$1 ] && exit 2
feh --bg-fill $WALLPAPER_PATH/$1
;;
esac