gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.54k stars 3.33k forks source link

Question: Change bg color of status bar if prefix is active #728

Closed waldauf closed 4 months ago

waldauf commented 4 months ago

Hello,

is it possible to change the background color of the status bar when is active? I think it can help with being aware of activating prefix mode without the need to check the sign in the status bar.

gpakosz commented 4 months ago

Hello @waldauf 👋

You could do something like

tmux_conf_theme_status_bg="#{?client_prefix,$tmux_conf_theme_colour_16,$tmux_conf_theme_colour_1}"

But it's not pretty imho.

waldauf commented 4 months ago

Hello @gpakosz,

it is not the last fashion hit but for me, it fulfilled the purpose.

Thank You for Your help!