aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-05-16 22:58:15 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-05-16 22:58:15 +0300
commitaa5d4079abfa37e212d8ad29009befcc9c9ba874 (patch)
tree953d54aeaa49dd24d2063ee98e5b197fb275ef22
parent4467a9048bcf9030fc5957c4e90e5d5fe729fa5e (diff)
downloadswayrice-master.tar.gz
swayrice-master.zip
lf: switch back to directly using mimeoHEADmaster
xdg-open doesn't accept multiple files/arguments
-rw-r--r--dotfiles/.config/lf/lfrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index 0ec605e..bc8f503 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -67,7 +67,7 @@ cmd fzf_jump ${{
cmd fzf_open ${{
res="$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"
if [ -e "$res" ]; then
- setsid xdg-open "$res" &
+ setsid mimeo "$res" &
fi
}}
@@ -79,7 +79,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 &xdg-open $fx
+cmd open &mimeo $fx
cmd hard_link %{{
load=$(cat ~/.local/share/lf/files)