.awesome/set_wall.sh

10 lines
172 B
Bash
Raw Normal View History

2013-03-12 00:32:44 +04:00
#!/bin/sh
if [ -d $1 ]; then
2015-03-24 13:38:08 +03:00
f="$(find $1 -type f | shuf -n1)"
ln -sf "$f" ~/.config/awesome/wallpaper.slink
feh --bg-scale "$f"
else
feh --bg-scale $1
fi