How To Display Seconds On The Clock In The i3 Bar

All information I googled relating to time formatting has to do with correcting an incorrect time or timezone. My time is correct. I just want it to display seconds. It is currently formatted to only display the hour (24-hr format) and minute.

1 Like

Is all here

In your i3status.conf

tztime local {
        format = "%Y-%m-%d %H:%M:%S"

as an example …
If you do not want the date:

tztime local {
        format = "%H:%M:%S"

Okay. I thought it was something I had to change about the hardware clock. I looked in the i3 config file and couldn’t find a relevant setting. Didn’t know there was an i3status.conf. My bad. Thanks.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.