11

It seems like, by default, the tmux status bar clock granularity is set to 2s, however it would be nice to be able to bring that up to a one-second granularity.

Is there any way to set the granularity in a .tmux.conf? I haven't been able to find anything about this under man tmux.

0

1 Answer 1

17

There is a status-interval session option which by default is set to 15 seconds. This determines how frequently the status line is redrawn.

With

set-option -s status-interval 1

in your .tmux.conf file, this would be would be changed to 1 second.

3
  • That'll do it, the status bar clock's updating every second now. Thanks!
    – Jules
    Apr 10, 2017 at 15:25
  • how much CPU increase usage does it affect if per second refresh? is it worth it?
    – daparic
    Jun 1, 2018 at 19:25
  • @ifelsemonkey That totally depends on your CPU. I haven't touched this option in my own configuration, so I can't really say what the impact would be. I can't imagine that it would be noticeable unless you have a really slow processor.
    – Kusalananda
    Jun 1, 2018 at 20:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .