diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/shufwall | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/.local/bin/shufwall b/.local/bin/shufwall index 086dd54d..831e614f 100755 --- a/.local/bin/shufwall +++ b/.local/bin/shufwall @@ -1,8 +1,9 @@  #!/bin/sh  if [ -z "$1" ]; then -	xwallpaper --maximize "$(find -L ~/pictures/wallpapers -type f | shuf -n 1)" +	file=$(find -L ~/pictures/wallpapers -type f | shuf -n 1)  else -	xwallpaper --maximize "$(find -L "$@" -maxdepth 1 -type f | shuf -n 1)" +	file=$(find -L "$@" -maxdepth 1 -type f | shuf -n 1)  fi +display -backdrop -window root "$file" | 
