Move tmux config

This commit is contained in:
Oystein Kristoffer Tveit 2021-06-28 12:34:14 +02:00
parent dc12c8c055
commit 3aaf3f50a2
1 changed files with 11 additions and 2 deletions

View File

@ -12,7 +12,7 @@ unbind % # Unbind default horizontal split
# Reload config
unbind r
bind r \
source-file ~/.tmux.conf\;\
source-file $XDG_CONFIG_HOME/tmux/tmux.conf\;\
display-message 'Reloaded tmux.conf'
# Switch panes using Alt-hjkl without prefix
@ -46,6 +46,7 @@ bind-key -T copy-mode-vi 'V' send -X select-line
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
# OTHER SETTINGS
# Don't rename windows automatically after rename with ','
@ -72,7 +73,7 @@ set -g pane-base-index 0
### DESIGN CHANGES ###
######################
set-option -g status-left '#[fg=green]#(~/.scripts/tmux/fcitx) #[fg=red]%H:%M '
set-option -g status-left '#[bg=blue]#[fg=black,bold] ###S #[bg=default] #[fg=green]#(~/.scripts/tmux/fcitx) #[fg=red]%H:%M '
set-option -g status-right '#[fg=red]#(~/.scripts/tmux/mpd)'
set-window-option -g window-status-current-style fg=magenta
set-option -g status-style 'bg=black fg=default'
@ -80,6 +81,14 @@ set-option -g default-shell '/bin/zsh'
#OTHER DESIGN CHANGES
set -g status-position bottom
set -g status-interval 4
set -g status-justify centre # center align window list
setw -g status-bg default
setw -g window-status-format '#[bg=#888888]#[fg=black,bold] #I #[bg=default] #[fg=#888888]#W '
setw -g window-status-current-format '#[fg=black,bold]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W '
# # loud or quiet?
# set -g visual-activity off
# set -g visual-bell off