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 --- examples/win-title | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/win-title b/examples/win-title index ac7b982..31994ef 100755 --- a/examples/win-title +++ b/examples/win-title @@ -1,7 +1,7 @@ #!/bin/sh # Example for $XDG_CONFIG_HOME/nsxiv/exec/win-title -# Called by nsxiv(1) on each redraw. +# Called by nsxiv(1) whenever any of the relevant information changes. # The output is set as nsxiv's window title. # # Arguments, "Optional" arguments might be empty: -- cgit v1.2.3-54-g00ecf