Skip to content

Instantly share code, notes, and snippets.

@ogranadatfx
Created December 11, 2021 04:26
Show Gist options
  • Save ogranadatfx/7f4f36236dae11b186dbe40e347c7f9d to your computer and use it in GitHub Desktop.
Save ogranadatfx/7f4f36236dae11b186dbe40e347c7f9d to your computer and use it in GitHub Desktop.
bind r source-file ~/.tmux.conf
# Enable mouse control (clickable windows, panes, resizable panes)
# If you use tmux < 2.1 use next lines:
# set -g mouse-select-window on
# set -g mouse-select-pane on
# set -g mouse-resize-pane on
# else
set -g mouse on
######################
### DESIGN CHANGES ###
######################
# loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# panes
set -g pane-border-style 'fg=colour19 bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=colour9'
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=black fg=red dim'
set -g status-left-length 20
set -g status-left ''
# set -g status-interval 2
# set -g status-left "#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors --interval 2)#[default]"
# set -g status-left-length 60
set -g status-right '#[fg=red,bg=black]#(tmux-mem-cpu-load --interval 2) #[fg=red,bg=blue] %d/%m #[fg=red,bg=cyan] %H:%M:%S '
set -g status-right-length 150
setw -g window-status-current-style 'fg=red bg=green'
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=black]#W#[fg=colour15] #F '
setw -g window-status-style 'fg=red bg=cyan'
setw -g window-status-format ' #I#[fg=black]:#[fg=red]#W#[fg=colour232] #F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# messages
set -g message-style 'fg=colour232 bg=colour16 bold'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment