Files
dev/configs/nixos/registry/window-icon.nix

20 lines
436 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 Nerd Font codepoint shown for matching windows.";
type = lib.types.str;
example = "f269";
};
};
};
}