Skip to content

Instantly share code, notes, and snippets.

@zolrath
Created April 4, 2012 20:27
Show Gist options
  • Star 46 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save zolrath/2305333 to your computer and use it in GitHub Desktop.
Save zolrath/2305333 to your computer and use it in GitHub Desktop.
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
Copy link

kivikakk commented Jul 4, 2012

Amazing!

@elvestar
Copy link

It's awesome, thank you.

@ggarnier
Copy link

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

@joshkel
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
Copy link

@joshkel thanks!

@TechWithOmid
Copy link

amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment