refactor(waybar): trim icon registry scope

This commit is contained in:
2026-10-11 18:19:29 -04:00
parent 4cc10a22ed
commit cf771102ea
2 changed files with 1 additions and 18 deletions

View File

@@ -24,16 +24,5 @@
modules.desktop.utilities.theming.enable = lib.mkDefault true;
modules.desktop.utilities.userdirs.enable = lib.mkDefault true;
registry.env.${config.networking.hostName}.NIXOS_OZONE_WL = "1";
registry.window-icon.${config.networking.hostName} = {
chromium = {
class = "chromium.*";
icon = "f268";
};
code = {
class = "[Cc]ode";
icon = "f121";
};
};
};
}

View File

@@ -1,11 +1,5 @@
{ lib, util, ... }:
{ lib, ... }:
{
checks = [
{
assertion = util.registry.predicates.uniquePerHost (entry: entry.value.class);
message = "Window icons must use unique class patterns per host.";
}
];
type = lib.types.submodule {
options = {