summaryrefslogtreecommitdiff
path: root/fdc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-09-18 09:26:20 -0500
committerzachir <zachir@librem.one>2025-09-18 09:26:29 -0500
commit2bc5f8229702354ebdaba8b62ac7bd1e91eb029f (patch)
tree62e9492cb6185d432480e0d503a560c8858eb39a /fdc
parent36b65149d0a89fe29b0b8992a877ddd9705e5879 (diff)
Fix browser scripts with URL
They were launching with "" as URL if none provided; now there is no arg if none is provided.
Diffstat (limited to 'fdc')
-rwxr-xr-xfdc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdc b/fdc
index 6d63ba5..8fc3bd0 100755
--- a/fdc
+++ b/fdc
@@ -21,5 +21,5 @@ esac done
PROFILES=$(grep 'Path=' ~/.firedragon/profiles.ini | cut -d'.' -f2)
CHOSEN=$(echo "$PROFILES" | dmenu ${ARG:+"$ARG"} -p "firedragon")
[ -z "$CHOSEN" ] && exit 2
-exec firedragon -P "$CHOSEN" "$URL"
+exec firedragon -P "$CHOSEN" ${URL:+"$URL"}
#}}}