diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-08 00:14:08 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-08 00:14:08 +0200 |
commit | 4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c (patch) | |
tree | cd12cb372c89a21e9b5d8b256669bde03e2a6cb7 /floats | |
parent | d27732ea3a023da885f5991946d4db30a0cb9cbf (diff) | |
download | scripts-4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c.tar.gz scripts-4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c.zip |
floatBGBrowser.sh has now a default folder.
Diffstat (limited to 'floats')
-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" |