From 156a53780c7b27aeb7b4de7de56450f26c55a192 Mon Sep 17 00:00:00 2001 From: qsmodo <75080827+qsmodo@users.noreply.github.com> Date: Sun, 12 Sep 2021 15:26:07 -0300 Subject: set title based on prefix and suffix (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: NRK Co-authored-by: Berke Kocaoğlu --- sxiv.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sxiv.1') diff --git a/sxiv.1 b/sxiv.1 index e714ed6..ed32bf2 100644 --- a/sxiv.1 +++ b/sxiv.1 @@ -14,6 +14,8 @@ sxiv \- Simple X Image Viewer .IR GEOMETRY ] .RB [ \-N .IR NAME ] +.RB [ \-T +.IR TITLE ] .RB [ \-n .IR NUM ] .RB [ \-S @@ -64,6 +66,19 @@ more information on GEOMETRY argument. .BI "\-N " NAME Set the resource name of sxiv's X window to NAME. .TP +.BI "\-T " TITLE +Set the window title to TITLE. Use the format `prefix:suffixmode'. Any string +literal is accepted for prefix, and the format of suffixmode is: + +.EX + Value Format + 0 Empty + 1 Basename of file + 2 Full path to file +.EE + +By defualt, prefix is set to "sxiv - " and suffixmode is set to 1 (basename). +.TP .BI "\-n " NUM Start at picture number NUM. .TP -- cgit v1.2.3