set_wall.sh: Find files only.
This commit is contained in:
parent
4127fcd2ac
commit
f2f467f30f
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -d $1 ]; then
|
if [ -d $1 ]; then
|
||||||
f="$(find $1 | shuf -n1)"
|
f="$(find $1 -type f | shuf -n1)"
|
||||||
ln -sf "$f" ~/.config/awesome/wallpaper.slink
|
ln -sf "$f" ~/.config/awesome/wallpaper.slink
|
||||||
feh --bg-scale "$f"
|
feh --bg-scale "$f"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue