aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-03-17 02:58:02 +0100
committerNRK <nrk@disroot.org>2023-03-17 03:07:39 +0100
commit502b30301c1c178748c221076f3f06f817956880 (patch)
treefdaeadae47422b312d4f31245f9dccc8fde1bfa6
parent157646f54cd010c8c884998319954006260f960e (diff)
downloadnsxiv-502b30301c1c178748c221076f3f06f817956880.tar.zst
document handling of empty X resources values
since 5cab2fb we reject empty X resources value to support use-cases like this: https://codeberg.org/nsxiv/nsxiv/issues/339 this issue was also bought up by GRFreire in: https://codeberg.org/nsxiv/nsxiv-record/pulls/115#issuecomment-474831 this suggests that this is a use-case that a decent amount of users might be interested in. so document the behavior so it's more easily visible.
-rw-r--r--etc/nsxiv.13
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nsxiv.1 b/etc/nsxiv.1
index d601e5c..a75a0a0 100644
--- a/etc/nsxiv.1
+++ b/etc/nsxiv.1
@@ -457,6 +457,9 @@ Color of the bar foreground. Defaults to window.foreground
Color of the mark foreground. Defaults to window.foreground
.TP
Please see xrdb(1) on how to change them.
+.LP
+An X resources entry with an empty value means the default
+(defined in config.h) will be used.
.SH WINDOW TITLE
The window title can be replaced with the output of a user-provided script,
which is called by nsxiv whenever any of the relevant information changes.