[Linux] Allow nob symlink wallpapers

This commit is contained in:
Ivan Malison 2017-02-24 21:31:27 -08:00
parent dac96ab832
commit 20c3e2c86f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
find ~/Pictures/wallpaper/use -type l | rofi -dmenu | xargs wallpaper.sh find ~/Pictures/wallpaper/use -type f -or -type l | rofi -dmenu | xargs wallpaper.sh

View File

@ -1,7 +1,7 @@
WALLPAPER_DIR="$HOME/Pictures/wallpaper/" WALLPAPER_DIR="$HOME/Pictures/wallpaper/"
random_paper() { random_paper() {
find "$WALLPAPER_DIR"use -type l | shuf -n1 find "$WALLPAPER_DIR"use -type f -or -type l | shuf -n1
} }
wallpaper() { wallpaper() {