refactor(waybar): register custom modules #168
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user