Skip to content

Commit

Permalink
Set Tmux save interval to 30m & show on status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinjasaur committed Jun 21, 2018
1 parent 214b2a1 commit 83c164e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,15 @@ set -g status-interval 1
set -g status-left-length 20 # default is 10
set -g status-right-length 60 # default is 40
set -g status-left '#[fg=white][#[fg=colour45]#S#[fg=white]] '
set -g status-right '#[fg=white]%a, %Y-%m-%d at %H:%M:%S (#[fg=colour93]#(whoami)#[fg=white])'
set -g status-right '#[fg=white][#[fg=colour196]#{continuum_status}#[fg=white]] %a, %Y-%m-%d at %H:%M:%S (#[fg=colour93]#(whoami)#[fg=white])'

# TPM Plugins
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

# Set save interval to 1/2 hour
set -g @continuum-save-interval '30'

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

Expand Down

0 comments on commit 83c164e

Please sign in to comment.