diff options
author | Nihal Jere <nihal@nihaljere.xyz> | 2021-08-26 17:50:47 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-27 19:28:56 +0200 |
commit | 1ea5f015f52c56a91a0423d65eba401236cee7ba (patch) | |
tree | 27bd12cfa8556ce07946c027cea31af7c3a8c39d /config.in | |
parent | 9acb015755c444068aebf3bd0a9b3969a1360a9d (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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |