Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

New hip tmux status bar

  • Loading branch information...
commit dfb96bc9d84103bb1f93bac03e98be1ffb8bfe60 1 parent 4a23025
Caio Romão authored

Showing 1 changed file with 19 additions and 17 deletions. Show diff stats Hide diff stats

  1. +19 17 tmux.conf
36 tmux.conf
@@ -21,26 +21,10 @@ bind-key [ copy-mode
21 21 bind-key ] paste-buffer
22 22 bind-key K kill-window
23 23
24   -# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\n"; done}
25   -set-window-option -g window-status-current-bg colour21
26   -set-window-option -g window-status-bell-bg white
27   -set-window-option -g window-status-bell-fg red
28   -set-window-option -g window-status-activity-bg green
29   -set-window-option -g window-status-activity-fg black
30   -set-window-option -g pane-active-border-fg colour140
31   -set-window-option -g pane-active-border-bg colour233
32   -set-window-option -g pane-border-fg colour233
33   -set-window-option -g pane-border-bg colour233
34 24
35 25 set-window-option -g utf8 on
36 26 set-window-option -g xterm-keys on
37 27
38   -# Statusbar
39   -set -g status-bg colour235
40   -set -g status-fg white
41   -set -g status-left ''
42   -set -g status-right '#[fg=white]#(date +%H:%M)'
43   -
44 28 set-option -g mouse-select-pane off
45 29 set-option -g status-keys vi
46 30 set-option -g set-titles on
@@ -55,5 +39,23 @@ set -g base-index 1
55 39 set -s escape-time 0
56 40 set -g update-environment -r
57 41
58   -bind r source-file ~/.tmux.conf
59 42 bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; split-window -l 10 "urlview /tmp/tmux-buffer"
  43 +
  44 +# colors:
  45 +# for i in {0..255}; do printf "\x1b[38;5;${i}mcolour${i}\n"; done}
  46 +
  47 +set -g status-left-length 52
  48 +set -g status-right-length 451
  49 +set -g status-fg white
  50 +set -g status-bg colour234
  51 +set -g pane-border-fg colour245
  52 +set -g pane-active-border-fg colour39
  53 +set -g message-fg colour16
  54 +set -g message-bg colour221
  55 +set -g message-attr bold
  56 +set -g window-status-activity-attr italics
  57 +set -g window-status-bell-attr bold
  58 +set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(date +%H:%M) #[fg=colour238,bg=colour234,nobold]⮀'
  59 +set -g window-status-format "#[fg=white,bg=colour234] #I #W "
  60 +set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
  61 +

0 comments on commit dfb96bc

Please sign in to comment.
Something went wrong with that request. Please try again.