aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-08-26 17:50:47 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-08-26 17:50:47 -0500
commit357bf99405eceb61ce4903c80c6258215a37e358 (patch)
tree27bd12cfa8556ce07946c027cea31af7c3a8c39d
parent33cc0c2336659c044fc4bb6db0b317c3bd9dffc8 (diff)
config.in: use portable hour specifier
`%l` is GNU specific. `%I` does the same thing but padded by zeros, and is POSIX compliant.
-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