From abedf8e947bb3c96c7f1f217016d94b5960f9a2c Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 26 Nov 2018 12:08:25 +0100 Subject: [PATCH] Updated tmux configuration --- README.md | 1 + dotfiles/tmux.conf | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6aaa2ff..4a4662e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index a219470..9ecde4c 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -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'