diff options
Diffstat (limited to 'dotfiles/.config/lf')
-rw-r--r-- | dotfiles/.config/lf/lfrc | 7 |
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) |