20 lines
420 B
Nix
20 lines
420 B
Nix
{ 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 = "";
|
|
};
|
|
};
|
|
};
|
|
}
|