set -g default-terminal "st-256color" set -ga terminal-overrides ",st-256color:Tc" set -g escape-time 0 set -g mouse on unbind C-b unbind C-a unbind Space unbind C-Space unbind r unbind Tab set -g prefix C-a bind C-a send-prefix bind-key C-a last-window bind-key Space next-window bind-key C-Space previous-window bind-key Tab select-pane -t :.+ \; swap-pane -U bind r source-file ~/.tmux.conf # set inactive/active window styles set -g window-style 'fg=colour247,bg=colour233' set -g window-active-style 'fg=colour244,bg=colour234' set-window-option -g xterm-keys on # allow set-titles to change the window title under st # http://opennomad.com/content/goodbye-screen-hello-tmux # http://stackoverflow.com/questions/15195624 set-option -ga terminal-overrides ',st-256color:smkx=\E=' # status bar set -g status-style fg=colour208,bg=colour237 # set-option -g status-attr default set-option -g status-position bottom set-option -g status-interval 60 set-option -g status-bg default set-option -g status-fg white # Left side of status bar set-option -g status-left-length 10 #set-option -g status-left "#[fg=brightwhite,bg=colour234] #S #[fg=default,bg=default] " set-option -g status-left '#{?client_prefix,#[bg=colour62]  ,#[bg=colour234] #S }#[fg=default,bg=default] ' # Window status set-option -g window-status-format "#[fg=white,bg=colour234] #I #[fg=white,bg=colour234] #W " set-option -g window-status-current-format "#[fg=brightwhite,bg=colour62] #I #[fg=brightwhite,bg=colour234] #W " set-option -g window-status-separator " " set-option -g status-justify left # Right side of status bar set-option -g status-right-length 80 WEATHER='#(curl -s wttr.in/Berlin\?format\="%%t+%%C+%%w+%%m")' set-option -g status-right "#[fg=brightwhite,bg=colour62]🌡 BER #[fg=brightwhite,bg=colour234] $WEATHER #[fg=brightwhite,bg=colour62]  #[fg=brightwhite,bg=colour234] #(whoami)@#h " # pane border set -g pane-border-style fg=colour238,bg=colour235 set -g pane-active-border-style fg=colour62,bg=colour236 # Pane number indicator set-option -g display-panes-colour colour234 set-option -g display-panes-active-colour brightwhite # Clock mode # set-option -g clock-mode-colour white # set-option -g clock-mode-style 24 # Message set -g message-style fg=default,bg=default # Activity set-option -g monitor-activity on set-option -g monitor-silence 0 set-option -g monitor-bell on set-option -g activity-action other set-option -g visual-activity on # Window numbering set-option -g base-index 1 set-option -g pane-base-index 1 set-option -g renumber-windows on # select default layout set-option -g main-pane-width 65 set-option -g main-pane-height 65 bind Enter select-layout main-vertical