aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/lf/lfrc
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-13 20:03:11 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-13 20:03:11 +0300
commit75395bc792fe2cdd1f508f657ca289829b80c506 (patch)
tree57f312d82f390adb9a10f8cea3d56f2d54b73727 /dotfiles/.config/lf/lfrc
parent9b9b48ccd7e4035b17e253a78760da9491db04b2 (diff)
downloadswayrice-75395bc792fe2cdd1f508f657ca289829b80c506.tar.gz
swayrice-75395bc792fe2cdd1f508f657ca289829b80c506.zip
lf: use mimeo instead of the default opener...
...so that now I can open multiple files at once.
Diffstat (limited to 'dotfiles/.config/lf/lfrc')
-rw-r--r--dotfiles/.config/lf/lfrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index f14dc87..51115c2 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -1,6 +1,3 @@
-# Personal lf conf
-# Inspired by the official example conf and Luke Smith's voidrice's
-
set icons
set scrolloff 10
set ratios 1:4:3
@@ -41,7 +38,6 @@ cmd tar ${{
}}
# extract the current file with the right command
-# (xkcd link: https://xkcd.com/1168/)
cmd extract ${{
set -f
case $f in
@@ -73,6 +69,8 @@ cmd dragon_drop $cp $(dragon-drag-and-drop --target | sed 's/file:\/\///g') .
# copy path to clipboard
cmd yank-path &printf '%s' "$fx" | wl-copy
+cmd open &mimeo $fx
+
# Bindings
map A rename
map c