From 810a9651a362992383081619ca63122f41f1cd0a Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 1 Jun 2022 14:59:16 +0600 Subject: reduce calls to win-title rather than calling the script unconditionally per redraw, we now have a `title_dirty` flag and keep track of when any of the relavent information changes. Co-authored-by: Arthur Williams Partially fixes: https://github.com/nsxiv/nsxiv/issues/258 --- nsxiv.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nsxiv.1') diff --git a/nsxiv.1 b/nsxiv.1 index 4488146..d5cd0ef 100644 --- a/nsxiv.1 +++ b/nsxiv.1 @@ -426,7 +426,8 @@ Color of the mark foreground. Defaults to window.foreground Please see xrdb(1) on how to change them. .SH WINDOW TITLE The window title can be replaced with the output of a user-provided script, -which is called by nsxiv whenever there's a redraw. The path of this script is +which is called by nsxiv whenever any of the relevant information changes. +The path of this script is .I $XDG_CONFIG_HOME/nsxiv/exec/win-title and the arguments given to it (where "Optional" arguments might be empty) are: .IP $1 4 -- cgit v1.2.3