From 2785bf9cb286896dfae283da278669eca3661cd9 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 17 Nov 2017 01:48:03 +0100 Subject: [PATCH] i3: correct example for config.floating.criteria The parameter accepts a listOf criteriaModule (which is types.attrs, not types.string) --- modules/services/window-managers/i3.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix index 9ec8829b..a9d8c1e8 100644 --- a/modules/services/window-managers/i3.nix +++ b/modules/services/window-managers/i3.nix @@ -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";} ]; }; }; };