aboutsummaryrefslogtreecommitdiff
path: root/floats
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-05-08 00:14:08 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-05-08 00:14:08 +0200
commit4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c (patch)
treecd12cb372c89a21e9b5d8b256669bde03e2a6cb7 /floats
parentd27732ea3a023da885f5991946d4db30a0cb9cbf (diff)
downloadscripts-4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c.tar.gz
scripts-4919a7bceea7ce4975fbd9d85c3d4a34697e7b6c.zip
floatBGBrowser.sh has now a default folder.
Diffstat (limited to 'floats')
-rwxr-xr-xfloats/floatBgBrowser.sh4
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"