aboutsummaryrefslogtreecommitdiff
path: root/1337x
diff options
context:
space:
mode:
Diffstat (limited to '1337x')
-rwxr-xr-x1337x3
1 files changed, 1 insertions, 2 deletions
diff --git a/1337x b/1337x
index 2587b68..ea9a7fa 100755
--- a/1337x
+++ b/1337x
@@ -69,8 +69,7 @@ main()
curl -Is "$url_1337x" > /dev/null ||
url_1337x="$proxy_1337x"
- query="$*"
- : "${query:=$(printf "" | dmenu -p " ")}"
+ query="${*:-$(printf "" | dmenu -p " ")}"
[ -z "$query" ] &&
die "please enter a query"