66 lines
2.2 KiB
Bash
66 lines
2.2 KiB
Bash
### CONFIG
|
|
set -g status-left '[#S]'
|
|
set -g status-right "#(hostname | cut -d. -f 1): #(uptime | awk -F 'averag[a-z]*: ' '{print $2}')"
|
|
set -g default-terminal "screen-256color"
|
|
set -g base-index 1
|
|
set -g renumber-windows on
|
|
set -g set-titles on
|
|
setw -g aggressive-resize on
|
|
setw -g automatic-rename on
|
|
|
|
### UNDBIND
|
|
unbind-key S
|
|
### BINDS
|
|
#
|
|
set -g prefix C-a
|
|
bind a send-prefix
|
|
bind ^X lock-server
|
|
bind x lock-server
|
|
bind : command-prompt
|
|
bind ^C new-window
|
|
bind c new-window
|
|
bind ^N next-window
|
|
bind n next-window
|
|
bind ^P next-window
|
|
bind p next-window
|
|
bind ^[ copy-mode
|
|
bind [ copy-mode
|
|
bind ^D detach
|
|
bind d detach
|
|
bind " " next-window
|
|
bind w command-prompt "rename-window %%"
|
|
bind ^L choose-window
|
|
bind l choose-window
|
|
bind ^K kill-window
|
|
bind k kill-window
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
### COLORS
|
|
set -g status-bg "colour233"
|
|
set -g message-command-fg "colour247"
|
|
set -g status-justify "left"
|
|
set -g status-left-length "100"
|
|
set -g status "on"
|
|
set -g pane-active-border-fg "colour148"
|
|
set -g message-bg "colour236"
|
|
set -g status-right-length "100"
|
|
set -g status-right-attr "none"
|
|
set -g message-fg "colour247"
|
|
set -g message-command-bg "colour236"
|
|
set -g status-attr "none"
|
|
set -g status-utf8 "on"
|
|
set -g pane-border-fg "colour236"
|
|
set -g status-left-attr "none"
|
|
setw -g window-status-fg "colour231"
|
|
setw -g window-status-attr "none"
|
|
setw -g window-status-activity-bg "colour233"
|
|
setw -g window-status-activity-attr "none"
|
|
setw -g window-status-activity-fg "colour148"
|
|
setw -g window-status-separator ""
|
|
setw -g window-status-bg "colour233"
|
|
set -g status-left "#[fg=colour22,bg=colour148] #S #[fg=colour148,bg=colour233,nobold,nounderscore,noitalics]"
|
|
set -g status-right "#[fg=colour236,bg=colour233,nobold,nounderscore,noitalics]#[fg=colour247,bg=colour236] %Y-%m-%d %H:%M #[fg=colour148,bg=colour236,nobold,nounderscore,noitalics]#[fg=colour22,bg=colour148] #h "
|
|
setw -g window-status-format "#[fg=colour231,bg=colour233] #I #[fg=colour231,bg=colour233] #W "
|
|
setw -g window-status-current-format "#[fg=colour233,bg=colour236,nobold,nounderscore,noitalics]#[fg=colour247,bg=colour236] #I #[fg=colour247,bg=colour236] #W #[fg=colour236,bg=colour233,nobold,nounderscore,noitalics]"
|