diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-12-21 13:03:50 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-12-21 13:03:50 -0500 |
| commit | 5f3576da169c7dc15dfb7e7d6e2f71db27583354 (patch) | |
| tree | 4daac26ac7ca2b3d7774b82aecd40e52391cb40a /.config/lf | |
| parent | 58e1952ce22b364fc21763cc52e7a1418607db99 (diff) | |
| parent | a01c9f967b8801b9917be0f270f1cf9b9655e770 (diff) | |
| download | eibhear-5f3576da169c7dc15dfb7e7d6e2f71db27583354.tar.gz eibhear-5f3576da169c7dc15dfb7e7d6e2f71db27583354.tar.zst eibhear-5f3576da169c7dc15dfb7e7d6e2f71db27583354.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.config/lf')
| -rw-r--r-- | .config/lf/lfrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index ebe16fb..9d6ceba 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -14,7 +14,7 @@ $lf -remote "send $id set previewer ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope" # cmds/functions cmd open ${{ - case $(file --mime-type $f -b) in + case $(file --mime-type "$(readlink -f $f)" -b) in image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;; text/*) $EDITOR $fx;; image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; |
