diff options
Diffstat (limited to 'modules/desktop/waybar/module/date.nix')
| -rw-r--r-- | modules/desktop/waybar/module/date.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/date.nix b/modules/desktop/waybar/module/date.nix index 477022e..5d21e68 100644 --- a/modules/desktop/waybar/module/date.nix +++ b/modules/desktop/waybar/module/date.nix @@ -1,7 +1,10 @@ -{ config, iconColor }: +{ config, mkIcon }: with config.scheme.withHashtag; +let + iconColor = base0E; +in { - format = "<span foreground='${iconColor}'></span> {:%d/%m/%Y}"; + format = "${mkIcon iconColor ""} {:%d/%m/%Y}"; tooltip-format = "{:%A, %d/%m/%Y}"; interval = 60; } |
