1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 00:51:58 +01:00

config.in: use portable hour specifier

`%l` is GNU specific. `%I` does the same thing but padded by zeros,
and is POSIX compliant.
This commit is contained in:
Nihal Jere 2021-08-26 17:50:47 -05:00 committed by Simon Ser
parent 9acb015755
commit 1ea5f015f5

@ -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