My Awesome Config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
172B

  1. #!/bin/sh
  2. if [ -d $1 ]; then
  3. f="$(find $1 -type f | shuf -n1)"
  4. ln -sf "$f" ~/.config/awesome/wallpaper.slink
  5. feh --bg-scale "$f"
  6. else
  7. feh --bg-scale $1
  8. fi