{ lib, ... }: { type = lib.types.submodule { options = { class = lib.mkOption { description = "Matches the window class reported by the compositor."; type = lib.types.str; example = ".*[Ff]irefox.*"; }; icon = lib.mkOption { description = "Sets the icon shown for matching windows."; type = lib.types.str; example = ""; }; }; }; }