diff --git a/home/default/.config/lf/lfrc b/home/default/.config/lf/lfrc index 5606d2d..ea8d31d 100644 --- a/home/default/.config/lf/lfrc +++ b/home/default/.config/lf/lfrc @@ -1,18 +1,5 @@ # lf - -# Note on Image Previews -# For those wanting image previews, like this system, there are four steps to -# set it up. These are done automatically for LARBS users, but I will state -# them here for others doing it manually. -# -# 1. chafa must be installed. -# 2. The scope file (~/.config/lf/scope for me), must have a command similar to -# mine to generate chafa images. -# 3. A `set cleaner` line as below is a cleaner script. -# 4. lf should be started through a wrapper script (~/.local/bin/lfub for me) -# that creates the environment for ueberzug. This command can be be aliased -# in your shellrc (`alias lf="lfub") or if set to a binding, should be -# called directly instead of normal lf. +# note: see .config/lf/scope for preview requirements # Basic vars set shellopts '-eu' diff --git a/home/default/.config/lf/scope b/home/default/.config/lf/scope index bbc197a..140641b 100755 --- a/home/default/.config/lf/scope +++ b/home/default/.config/lf/scope @@ -1,6 +1,19 @@ #!/bin/sh # File preview handler for lf. +# requirements: +# - horriblename/lf (https://github.com/horriblename/lf) +# - chafa +# - gnome-kra-ora-thumbnailer +# - gnome-epub-thumbnailer +# - webp-pixbuf-loader +# - bat +# - mediainfo +# - ffmpegthumbnailer +# - poppler +# - atool +# - odt2txt +# - gpg set -C -f IFS="$(printf '%b_' '\n')"; IFS="${IFS%_}"