Browse Source

set_wall.sh: Find files only.

awesome-3.5
Kolan Sh 5 years ago
parent
commit
f2f467f30f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      set_wall.sh

+ 1
- 1
set_wall.sh View File

@@ -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