update lfrc
This commit is contained in:
parent
29d0270e76
commit
5523e74082
@ -9,13 +9,14 @@ 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 ;;
|
||||||
|
*.sc) sc-im $f ;;
|
||||||
esac
|
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 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user