diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-09-18 00:13:07 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-09-18 00:13:07 +0300 |
commit | 840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d (patch) | |
tree | fd091847979e0ac5d05de15c4f2d9d82c088a4d6 /dotfiles/.local/bin/menuwebsurf | |
parent | e5a7e88b25b88f9aa55bbce105467c81472a6aba (diff) | |
download | swayrice-840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d.tar.gz swayrice-840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d.zip |
Use solely mimeo to handle default files/links
Diffstat (limited to 'dotfiles/.local/bin/menuwebsurf')
-rwxr-xr-x | dotfiles/.local/bin/menuwebsurf | 7 |
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 |