citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 53620fe137bdb08aa447741671615ca04c356591
parent 7ad32c83fae4e22b54e2d424b87250c910b081d7
Author: William Casarin <jb55@jb55.com>
Date:   Sat,  7 Nov 2020 21:20:56 -0800

vf1: quit if one screen

Diffstat:
Mbin/av98 | 4++--
Mbin/vf1 | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/av98 b/bin/av98 @@ -85,8 +85,8 @@ _MIME_HANDLERS = { "audio/ogg": "ogg123 %s", "image/*": "sxiv %s", "text/html": "lynx -dump -force_html %s", - "text/plain": "less %s", - "text/gemini": "less %s", + "text/plain": "less --quit-if-one-screen %s", + "text/gemini": "less --quit-if-one-screen %s", } # monkey-patch Gemini support in urllib.parse diff --git a/bin/vf1 b/bin/vf1 @@ -76,7 +76,7 @@ _MIME_HANDLERS = { "audio/mpeg": "mpg123 %s", "audio/ogg": "ogg123 %s", "image/*": "feh %s", - "text/*": "less %s", + "text/*": "less --quit-if-one-screen %s", "text/html": "lynx -dump -force_html %s", }