aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/polybar/module/date.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
commit170461002890d55718618bec64feaa8856c3a6d4 (patch)
tree39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/desktop/polybar/module/date.nix
parent547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff)
downloadhome-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz
home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/desktop/polybar/module/date.nix')
-rw-r--r--modules/desktop/polybar/module/date.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/desktop/polybar/module/date.nix b/modules/desktop/polybar/module/date.nix
new file mode 100644
index 0000000..9c56121
--- /dev/null
+++ b/modules/desktop/polybar/module/date.nix
@@ -0,0 +1,10 @@
+{ config }:
+
+with config.scheme.withHashtag;
+{
+ type = "internal/date";
+ interval = 60;
+ date = "%d/%m/%Y";
+ label = "%date%";
+ format-prefix = "%{T2}%{F${base03}} %{F-}%{T-}";
+}