aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/lf
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-20 00:50:00 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-04-20 00:50:00 +0300
commit76029e29f72d84cfda69be529c33f621144f3ef9 (patch)
treef0157552303082311fa850dcfbd8f01c860956ec /dotfiles/.config/lf
parent4fe087c59d20988192485d11990d48ba6c73aa0c (diff)
downloadswayrice-76029e29f72d84cfda69be529c33f621144f3ef9.tar.gz
swayrice-76029e29f72d84cfda69be529c33f621144f3ef9.zip
Fix xdg-open/mimeo blocking
Diffstat (limited to 'dotfiles/.config/lf')
-rw-r--r--dotfiles/.config/lf/lfrc7
1 files changed, 2 insertions, 5 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index c6034f9..e9223b8 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -66,11 +66,8 @@ cmd fzf_jump ${{
cmd fzf_open ${{
res="$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"
if [ -e "$res" ]; then
- cmd="mimeo"
- else
- cmd="select"
+ &xdg-open "$res"
fi
- $cmd "$res"
}}
# drag and drop prompt
@@ -81,7 +78,7 @@ cmd dragon_drop $cp $(dragon-drop --target | sed 's/file:\/\///g') .
# copy path to clipboard
cmd yank-path &printf '%s' "$fx" | wl-copy
-cmd open &mimeo $fx
+cmd open &xdg-open $fx
cmd hard_link %{{
load=$(cat ~/.local/share/lf/files)