From 2b82e17411132fd2ab96dffd83d99e926c4ea254 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 17 Nov 2024 01:06:07 +0800 Subject: [PATCH] home/i3status-rust: change time formatting --- home/applications/i3status-rust/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/applications/i3status-rust/default.nix b/home/applications/i3status-rust/default.nix index 9e3887c..8afd6ba 100644 --- a/home/applications/i3status-rust/default.nix +++ b/home/applications/i3status-rust/default.nix @@ -7,7 +7,11 @@ { block = "backlight"; } { block = "sound"; } { block = "battery"; } - { block = "time"; } + { + block = "time"; + format = " $icon $timestamp.datetime(f:'%F %r') "; + interval = 1; + } ]; }; };