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:
parent
9acb015755
commit
1ea5f015f5
|
@ -205,7 +205,7 @@ bar {
|
||||||
|
|
||||||
# When the status_command prints a new line to stdout, swaybar updates.
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
# The default just shows the current date and time.
|
# 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 {
|
colors {
|
||||||
statusline #ffffff
|
statusline #ffffff
|
||||||
|
|
Loading…
Reference in a new issue