Change waybar clock format
Following an update to waybar, the clock starting displaying fractional seconds. Changing seconds from `%S` to `%OS` truncates the fractional second, though this is possibly not portable as `%OS` is "alternative second display" and the definition of "alternative" is vague.
This commit is contained in:
parent
a9a94840e9
commit
e13b0d8e54
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "{:%a %b %d %H:%M:%S}",
|
"format": "{:%a %b %d %R:%OS}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue