diff options
Diffstat (limited to 'floats/floatBgBrowser.sh')
-rwxr-xr-x | floats/floatBgBrowser.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/floats/floatBgBrowser.sh b/floats/floatBgBrowser.sh index baa8c63..0fbf0d3 100755 --- a/floats/floatBgBrowser.sh +++ b/floats/floatBgBrowser.sh @@ -1,2 +1,4 @@ #!/bin/sh -urxvt -title floating -sh 20 -cr black -geometry "45x6-5-5" -e ~/scripts/bgBrowser.sh "$1" +path="$1" +[ -z "$path" ] && path="/home/taamas/images/wallpapers/" +urxvt -title floating -sh 20 -cr black -geometry "45x6-5-5" -e ~/scripts/bgBrowser.sh "$path" |