Browse Source

set_wall.sh: Find files only.

awesome-3.5
Kolan Sh 6 years ago
parent
commit
f2f467f30f
  1. 2
      set_wall.sh

2
set_wall.sh

@ -1,7 +1,7 @@
#!/bin/sh
if [ -d $1 ]; then
f="$(find $1 | shuf -n1)"
f="$(find $1 -type f | shuf -n1)"
ln -sf "$f" ~/.config/awesome/wallpaper.slink
feh --bg-scale "$f"
else

Loading…
Cancel
Save