.awesome/set_wall.sh

10 lines
164 B
Bash
Raw Normal View History

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