From 840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 18 Sep 2020 00:13:07 +0300 Subject: Use solely mimeo to handle default files/links --- dotfiles/.local/bin/menuwebsurf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dotfiles/.local/bin/menuwebsurf') 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 -- cgit v1.2.3