powerline / powerline

Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

Home Page:https://powerline.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turn off window_id from the window label in powerline-tmux

LudwikBielczynski opened this issue · comments

Is it possible to change the formatting of the window labels (e.g. turn off the window_id)?
enter image description here

I know that in .byobu/.tmux.conf we can set it up in tmux windows options:

set-window-option -g window-status-format "#W#F"
set-window-option -g window-status-current-format "#W#F"
set-window-option -g window-status-bell-format "#W#F"

keeping only the window name and the status.

Afterwards, I have tried to run powerline:

source "/usr/share/powerline/bindings/tmux/powerline.conf"

It introduces the powerline styling and formatting, however, it reverses the formatting done directly on tmux level. Making it the other way around keeps the correct label formatting, however, cancels all the formatting done by powerline.

Is there a way to set up in powerline directly?