patches

Patches for various other programs
git clone https://git.regexghost.com/patches.git
Log | Files | Refs | README

commit 2e58a6c585fb9d607beb619f026e59fd80ac6bc4
parent 185bd2ad8bdf95ea94d743e54bb742123fa31238
Author: regexghost <dev@regexghost.com>
Date:   Sun, 26 Jul 2026 16:55:20 +0100

added sxiv patch

Diffstat:
Asxiv-print-index.diff | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/sxiv-print-index.diff b/sxiv-print-index.diff @@ -0,0 +1,14 @@ +diff --git a/commands.c b/commands.c +index f685bc0..0c2be5a 100644 +--- a/commands.c ++++ b/commands.c +@@ -62,6 +62,9 @@ bool cg_quit(arg_t _) + printf("%s\n", files[i].name); + } + } ++ if (options->to_stdout) { ++ printf("index: %d\n", fileidx); ++ } + exit(EXIT_SUCCESS); + } +