diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-05-16 22:58:15 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-05-16 22:58:15 +0300 |
commit | aa5d4079abfa37e212d8ad29009befcc9c9ba874 (patch) | |
tree | 953d54aeaa49dd24d2063ee98e5b197fb275ef22 | |
parent | 4467a9048bcf9030fc5957c4e90e5d5fe729fa5e (diff) | |
download | swayrice-master.tar.gz swayrice-master.zip |
xdg-open doesn't accept multiple files/arguments
-rw-r--r-- | dotfiles/.config/lf/lfrc | 4 |
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) |