refactor(waybar): register workspace window icons

This commit was merged in pull request #167.
This commit is contained in:
2026-10-11 18:23:41 -04:00
parent 4dd0a5a4f5
commit f0c5544b10
8 changed files with 67 additions and 26 deletions

View File

@@ -0,0 +1,19 @@
{ 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";
};
};
};
}