diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-08-05 19:30:47 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-08-05 19:30:47 -0400 |
commit | 9ebf91e892cbafbf03d09f3adca652db181d1587 (patch) | |
tree | 299f0a362d3ad0f7be8757c7b3cbd2ee715b65cc /.config/lf/lfrc | |
parent | da5ef3b9e22e11192279f0becaa0c8c35b7ff929 (diff) |
Wayland migration (first of many)
Diffstat (limited to '.config/lf/lfrc')
-rwxr-xr-x | .config/lf/lfrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 251230e..8664792 100755 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -27,7 +27,6 @@ set cleaner '~/.config/lf/cleaner' set previewer '~/.config/lf/scope' set autoquit true - # cmds/functions cmd open ${{ case $(file --mime-type "$(readlink -f $f)" -b) in @@ -37,7 +36,7 @@ cmd open ${{ image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | - setsid -f nsxiv -aio 2>/dev/null | while read -r file; do + setsid -f imv 2>/dev/null | while read -r file; do [ -z "$file" ] && continue lf -remote "send select \"$file\"" lf -remote "send toggle" |