Skip to content

Commit

Permalink
Revamp Tmux status to show user info and date/time
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinjasaur committed Nov 19, 2017
1 parent a6f66c8 commit f648342
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ if-shell -b '[ "$(echo "$(tmux -V | cut -c 6-) >= 2.1" | bc)" = 1 ]' \
# Theme
set -g status-bg black
set -g status-fg white
set -g window-status-current-bg white
set -g window-status-current-fg black
set -g window-status-current-bg red
set -g window-status-current-fg white
set -g window-status-current-attr bold
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]'
set -g status-interval 1
set -g status-left '#[fg=green][#S] '
set -g status-right '#[fg=white]%a, %Y-%m-%d at %H:%M:%S (#[fg=colour93]#(whoami)#[fg=white]@#[fg=red]#(hostname)#[fg=white])'

# Local config
if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local'

0 comments on commit f648342

Please sign in to comment.