update lfrc
This commit is contained in:
parent
29d0270e76
commit
5523e74082
@ -9,14 +9,15 @@ set icons
|
|||||||
set period 1
|
set period 1
|
||||||
set hiddenfiles ".*:*.aux:*.log:*.bbl:*.bcf:*.blg:*.run.xml"
|
set hiddenfiles ".*:*.aux:*.log:*.bbl:*.bcf:*.blg:*.run.xml"
|
||||||
set previewer '~/.config/lf/scope'
|
set previewer '~/.config/lf/scope'
|
||||||
set autoquit on
|
set autoquit true
|
||||||
|
|
||||||
# cmds/functions
|
# cmds/functions
|
||||||
cmd open ${{
|
cmd open ${{
|
||||||
case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in
|
case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in
|
||||||
*.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;;
|
*.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;;
|
||||||
*.xlsx|*.sc) setsid -f libreoffice $f >/dev/null 2>&1 && exit 0 ;;
|
*.xlsx) setsid -f libreoffice $f >/dev/null 2>&1 && exit 0 ;;
|
||||||
esac
|
*.sc) sc-im $f ;;
|
||||||
|
esac
|
||||||
case $(file --mime-type "$(readlink -f $f)" -b) in
|
case $(file --mime-type "$(readlink -f $f)" -b) in
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;;
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;;
|
||||||
image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user