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.
This commit is contained in:
Sanchayan Maity 2023-07-19 09:52:13 +05:30
parent 95bbaa2b97
commit ff45d50937
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -8,7 +8,17 @@ icons = "awesome5"
block = "time" block = "time"
interval = 60 interval = 60
[block.format] [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] [block.theme_overrides]
idle_fg = "#66D9EF" idle_fg = "#66D9EF"
idle_bg = "#000000" idle_bg = "#000000"