summaryrefslogtreecommitdiffstats
path: root/.scripts/i3cmds
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/i3cmds')
-rwxr-xr-x.scripts/i3cmds/ducksearch2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3cmds/ducksearch b/.scripts/i3cmds/ducksearch
index 2e14513..4e79570 100755
--- a/.scripts/i3cmds/ducksearch
+++ b/.scripts/i3cmds/ducksearch
@@ -14,7 +14,7 @@ if [ "$choice" = "🦆" ]; then
$browser "https://duckduckgo.com"
else
# Detect if url
- if [[ "$choice" =~ ^(http:\/\/|https:\/\/)?[a-zA-Z0-9]+.[a-zA-Z]+(/)?.*$ ]]; then
+ if [[ "$choice" =~ ^(http:\/\/|https:\/\/)?[a-zA-Z0-9]+\.[a-zA-Z]+(/)?.*$ ]]; then
$browser "$choice"
else
$browser "https://duckduckgo.com/?q=$choice&t=ffab&atb=v1-1"