aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/status-bar/polybar/module/time.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/status-bar/polybar/module/time.nix')
-rw-r--r--modules/desktop/status-bar/polybar/module/time.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/desktop/status-bar/polybar/module/time.nix b/modules/desktop/status-bar/polybar/module/time.nix
new file mode 100644
index 0000000..f3e0054
--- /dev/null
+++ b/modules/desktop/status-bar/polybar/module/time.nix
@@ -0,0 +1,10 @@
+{ config }:
+
+with config.scheme.withHashtag;
+{
+ type = "internal/date";
+ interval = 30;
+ time = "%H:%M";
+ label = "%time%";
+ format-prefix = "%{F${base0C}} %{F-}";
+}