diff options
| author | Ben Sima <ben@bsima.me> | 2019-11-03 10:35:58 -0800 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2019-11-03 10:35:58 -0800 |
| commit | 4cc7908d39ef08307450a97baa462f6dbdb0ddd1 (patch) | |
| tree | d8bdee1f3db4cbd474b1a15a89806f3eb62cbe37 /wal | |
| parent | 658c74339f75e520436a207fe7ce3bda6769311f (diff) | |
add file argument to wal
Diffstat (limited to 'wal')
| -rwxr-xr-x | wal | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,3 +1,3 @@ #!/usr/bin/env bash -file=$(ls ~/wallpaper | sort -R | tail -1) -feh --bg-fill ~/wallpaper/$file
\ No newline at end of file +file=${1:-$(find ~/wallpaper | sort -R | tail -1)} +feh --bg-fill $file |
