refactor(waybar): register custom modules #168

Merged
alexion merged 2 commits from refactor/waybar-module-registry into main 2026-10-11 21:11:08 -04:00
Showing only changes of commit 3c9d0ec886 - Show all commits

View File

@@ -25,6 +25,14 @@ in
removeNixSuffix = path: lib.removeSuffix ".nix" (builtins.baseNameOf path); removeNixSuffix = path: lib.removeSuffix ".nix" (builtins.baseNameOf path);
glyph =
code:
builtins.fromJSON (
"\""
+ (if builtins.isList code then lib.concatMapStrings (part: "\\u${part}") code else "\\u${code}")
+ "\""
);
registry.predicates.uniqueValue = uniqueValue; registry.predicates.uniqueValue = uniqueValue;
registry.predicates.uniquePerHost = registry.predicates.uniquePerHost =