aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorNihal Jere <nihal@nihaljere.xyz>2021-08-26 17:50:47 -0500
committerSimon Ser <contact@emersion.fr>2021-08-27 19:28:56 +0200
commit1ea5f015f52c56a91a0423d65eba401236cee7ba (patch)
tree27bd12cfa8556ce07946c027cea31af7c3a8c39d /config.in
parent9acb015755c444068aebf3bd0a9b3969a1360a9d (diff)
config.in: use portable hour specifier
`%l` is GNU specific. `%I` does the same thing but padded by zeros, and is POSIX compliant.
Diffstat (limited to 'config.in')
-rw-r--r--config.in2
1 files changed, 1 insertions, 1 deletions
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