From ff45d509371e86ae1d26548e12bdadbf440fb34c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 19 Jul 2023 09:52:13 +0530 Subject: [PATCH] i3status-rust: Add time block with UTC timezone We often find ourselves looking up UTC time, so add a block showing time in UTC. While at it, drop the year which is not really useful. --- i3status-rust/.config/i3status-rust/config.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/i3status-rust/.config/i3status-rust/config.toml b/i3status-rust/.config/i3status-rust/config.toml index c2bae0e..1e21846 100644 --- a/i3status-rust/.config/i3status-rust/config.toml +++ b/i3status-rust/.config/i3status-rust/config.toml @@ -8,7 +8,17 @@ icons = "awesome5" block = "time" interval = 60 [block.format] -full = " $icon $timestamp.datetime(f:'%a %d-%m-%Y %R') " +full = " $icon $timestamp.datetime(f:'%a %d-%m %R')" +[block.theme_overrides] +idle_fg = "#66D9EF" +idle_bg = "#000000" + +[[block]] +block = "time" +interval = 60 +timezone = "UTC" +[block.format] +full = " $timestamp.datetime(f:'%R') " [block.theme_overrides] idle_fg = "#66D9EF" idle_bg = "#000000"