From 1ea5f015f52c56a91a0423d65eba401236cee7ba Mon Sep 17 00:00:00 2001 From: Nihal Jere Date: Thu, 26 Aug 2021 17:50:47 -0500 Subject: config.in: use portable hour specifier `%l` is GNU specific. `%I` does the same thing but padded by zeros, and is POSIX compliant. --- config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.in b/config.in index 8031523e..e0fdab3f 100644 --- a/config.in +++ b/config.in @@ -205,7 +205,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done colors { statusline #ffffff -- cgit v1.2.3