i3: correct example for config.floating.criteria

The parameter accepts a listOf criteriaModule
(which is types.attrs, not types.string)
This commit is contained in:
Florian Klink 2017-11-17 01:48:03 +01:00 committed by Nikita Uvarov
parent bc2f2ad546
commit 2785bf9cb2
No known key found for this signature in database
GPG key ID: F7A5FB3A7C10EF96

View file

@ -163,7 +163,7 @@ let
type = types.listOf criteriaModule;
default = [];
description = "List of criteria for windows that should be opened in a floating mode.";
example = [ "title='Steam - Update News'" "class='Pavucontrol'" ];
example = [ {"title" = "Steam - Update News";} {"class" = "Pavucontrol";} ];
};
};
};