aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/lib.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/waybar/lib.nix')
-rw-r--r--modules/desktop/waybar/lib.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/desktop/waybar/lib.nix b/modules/desktop/waybar/lib.nix
new file mode 100644
index 0000000..9053cd5
--- /dev/null
+++ b/modules/desktop/waybar/lib.nix
@@ -0,0 +1,7 @@
+{ lib, ... }:
+let
+ mkIcon = color: icon: "<span foreground='${color}' font_size='125%'>${icon}</span>";
+in
+{
+ inherit mkIcon;
+}