aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Nihal Jere <nihal@nihaljere.xyz>2021-08-26 17:50:47 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2021-08-27 19:28:56 +0200
commit1ea5f015f52c56a91a0423d65eba401236cee7ba (patch)
tree27bd12cfa8556ce07946c027cea31af7c3a8c39d
parentDeduplicate code for rendering titlebar texts (diff)
downloadsway-1ea5f015f52c56a91a0423d65eba401236cee7ba.tar.gz
sway-1ea5f015f52c56a91a0423d65eba401236cee7ba.tar.zst
sway-1ea5f015f52c56a91a0423d65eba401236cee7ba.zip
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 {
205 205
206 # When the status_command prints a new line to stdout, swaybar updates. 206 # When the status_command prints a new line to stdout, swaybar updates.
207 # The default just shows the current date and time. 207 # The default just shows the current date and time.
208 status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done 208 status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
209 209
210 colors { 210 colors {
211 statusline #ffffff 211 statusline #ffffff