~mil/f_scripts

e0e641cd5ede3e4d799476bd768b455de05c50b8 — Miles Alan 9 months ago a0c0170 0.1
Regenerate documentation
1 files changed, 14 insertions(+), 7 deletions(-)

M README.md
M README.md => README.md +14 -7
@@ 68,18 68,26 @@ F_AUDIO_STEP=1
-  **Documentation:** An interactive prompt-driven filebrowser. Enter the name of the
folder to enter to cd or enter a file to open it.
Set $F_FILES_HANDLERS to customize handlers to use to open files.
Note that sequence matters. Each line in $F_FILES_HANDLERS has 3
Note that sequence matters. Each line in $F_FILES_HANDLERS has 4
parts seperated by the ^ character, the first field is a regex
for grep, the second field is fbp fields to populate, and the
third is the command to run which will be suffixed with nonexistentfn.
-  **Dependencies:** mpv fbida-fbi
third is the command to run which will be suffixed with $@.
The fourth field is an optional arbitrary shell code to be eval'd
after terminating the program. This can be helpful to run cleanup
code for buggy applications like fbi which don't always properly
on C-c or for any other terminal restoration code.
-  **Dependencies:** vim mpv fbdi-fbi fbdi-fbgs
-  **Default variables:** (override by setting `F_FILES=1`)
    - ```sh
F_FILES_HANDLERS='
[.](webm|ogg|mp3|mp4|mov|avi)$ ^ 9 0 [ ] p q ^ mpv --no-video
[.](jpg|jpeg|gif|webm|png)$ ^ n ^ fbi
. ^ Q ^ vi
[.](mp4|mov|avi)$ ^ 9 0 [ ] p q ^ mpv --vo=tct ^
[.](webm|ogg|mp3|flac)$ ^ 9 0 [ ] p q ^ mpv --no-video ^
[.](jpg|jpeg|gif|webm|png)$ ^ q j k a + - 100s 150s 200s v h i q ^ fbi ^ pkill -9 fbi
[.](pdf)$ ^ q j k a + - 100s 150s 200s v h i q ^ fbg ^ pkill -9 fbi
. ^ Z X Q :q :w :wq j k h l ^ vim ^
'
F_FILES_FBSET_FBPRATIO='2 / 3'
F_FILES_FBSET_YRES='1440'
       ```
-  **Source:** [f_files](./scripts/f_files)



@@ 214,7 222,6 @@ Set $F_WEB_SITES to customize sites shown to user
-  **Default variables:** (override by setting `F_WEB=1`)
    - ```sh
F_WEB_SITES='
68k 68k.news
npr text.npr.org
ddg duck.com
hn news.ycombinator.com