aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/menuwebsurf
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/menuwebsurf')
-rwxr-xr-xdotfiles/.local/bin/menuwebsurf7
1 files changed, 3 insertions, 4 deletions
diff --git a/dotfiles/.local/bin/menuwebsurf b/dotfiles/.local/bin/menuwebsurf
index 00155c6..bef9890 100755
--- a/dotfiles/.local/bin/menuwebsurf
+++ b/dotfiles/.local/bin/menuwebsurf
@@ -1,7 +1,6 @@
#!/bin/sh
-# menu prompt to open a link or search with duckduckgo if it's
-# not a url
+# menu prompt to open a link with mimeo
# Source settings from .bemenurc
. ~/.config/bemenurc
@@ -16,8 +15,8 @@ fi
choice=$(echo "$prompt" | bemenu -i -p "Enter link or query:" --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" --monitor="$BEMENU_MONITOR") || exit 1
if [ "$choice" = "🌐" ]; then
- linkhandler
+ $BROWSER
else
- linkhandler "$choice"
+ mimeo "$choice"
fi