From eff1b70f68a497060518f0b5772fd5a8c737e9fe Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 7 Apr 2021 14:16:51 -0500 Subject: [PATCH] Added zulu time to the bar on scroll --- .config/sway/kd-laptop/py3status.py | 13 +++++++++---- .config/sway/lark-desktop/py3status.py | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.config/sway/kd-laptop/py3status.py b/.config/sway/kd-laptop/py3status.py index e669b7a..c4e1c48 100644 --- a/.config/sway/kd-laptop/py3status.py +++ b/.config/sway/kd-laptop/py3status.py @@ -4,11 +4,16 @@ order += "volume_status" order += "sysdata" order += "keyboard_locks" order += "battery_level" -order += "clock" +order += "group time" - -clock { - format_time = "%F %H:%M" +group time { + clock "local" { + format_time = "%F %H:%M" + } + clock "zulu" { + format = "{UTC}" + format_time = "%Y%m%d %H%Mz" + } } arch_updates { diff --git a/.config/sway/lark-desktop/py3status.py b/.config/sway/lark-desktop/py3status.py index fc449ad..7716e26 100644 --- a/.config/sway/lark-desktop/py3status.py +++ b/.config/sway/lark-desktop/py3status.py @@ -2,11 +2,16 @@ order += "arch_updates" order += "volume_status" order += "sysdata" order += "keyboard_locks" -order += "clock" +order += "group time" - -clock { - format_time = "%F %H:%M" +group time { + clock "local" { + format_time = "%F %H:%M" + } + clock "zulu" { + format = "{UTC}" + format_time = "%Y%m%d %H%Mz" + } } arch_updates {