Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tmux status line from wemux example.

For a tmux status line as seen in the example image for the wemux project: wemux

The session on the left in the example screen shot uses a patched font from the vim-powerline project. Inconsolata-dz, you beautiful creature.

To duplicate the left status line add the following lines to your ~/tmux.conf

set -g status-left-length 32
set -g status-right-length 150

set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold

set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]⮀'
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
set -g status-right "#(wemux status_users)"
@kivikakk

This comment has been minimized.

Copy link

kivikakk commented Jul 4, 2012

Amazing!

@elvestar

This comment has been minimized.

Copy link

elvestar commented Feb 16, 2014

It's awesome, thank you.

@ggarnier

This comment has been minimized.

Copy link

ggarnier commented Sep 19, 2016

I'm having some trouble with those special characters in status-left line. When I copy them, I get an unknown character.

@joshkel

This comment has been minimized.

Copy link

joshkel commented Mar 25, 2017

@ggarnier - You need a font that's patched to add Powerline characters. (Hence the link to the patched Inconsolata-dz.) Powerline Fonts and Nerd Fonts have more patched options.

@ggarnier

This comment has been minimized.

Copy link

ggarnier commented Apr 26, 2017

@joshkel thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.