Updated tmux configuration

This commit is contained in:
Dennis Potter 2018-11-26 12:08:25 +01:00
parent 5412da060b
commit abedf8e947
2 changed files with 14 additions and 3 deletions

View File

@ -18,6 +18,7 @@ Below, a list of applications that are managed and of their prerequisites to mak
- ZSH
oh-my-zsh (automatically fetched by dotdrop)
- tmux
acpi
- neovim
plug (automatically fetched by dotdrop)
fonts-powerline

View File

@ -1,10 +1,8 @@
# remap prefix to Control + a
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set-option -g status-position top
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
@ -30,3 +28,15 @@ bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# tabs
setw -g window-status-format "#[fg=white]#[bg=blue] #I #[bg=blue]#[fg=white] #W "
setw -g window-status-current-format "#[bg=white]#[fg=black] *#I #[fg=black,bold]#[bg=white] [#W] "
# status bar
set-option -g status-position top
set -g status-fg white
set -g status-bg blue
set -g status-left ''
set -g status-right-length 60
set -g status-right '♥ #(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M'