xresources: improve properties option example

Fixes #1001
This commit is contained in:
Robert Helgesson 2020-01-21 22:27:57 +01:00
parent 805d82e1be
commit 95c8007b8f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -29,11 +29,13 @@ in
xresources.properties = mkOption {
type = types.nullOr types.attrs;
default = null;
example = {
example = literalExample ''
{
"Emacs*toolBar" = 0;
"XTerm*faceName" = "dejavu sans mono";
"XTerm*charClass" = [ "37:48" "45-47:48" "58:48" "64:48" "126:48" ];
};
}
'';
description = ''
X server resources that should be set.
Booleans are formatted as "true" or "false" respectively.