{ programs.tmux = { enable = true; shortcut = "a"; keyMode = "vi"; clock24 = true; extraConfig = '' # Enable mouse mode (tmux 2.1 and above) set -g mouse on # split panes using | and - bind | split-window -h bind - split-window -v unbind '"' unbind % # change status bar color bind-key r source-file ~/.tmux.conf \; display-message "Konfiguration neu geladen" # status bar theme set -g status-bg 'colour235' #set -g message-command-fg 'colour222' set -g status-justify 'centre' set -g status-left-length '100' set -g status 'on' #set -g pane-active-border-fg 'colour154' #set -g message-bg 'colour238' set -g status-right-length '100' #set -g status-right-attr 'none' #set -g message-fg 'colour222' #set -g message-command-bg 'colour238' #set -g status-attr 'none' #set -g status-utf8 'on' #set -g pane-border-fg 'colour238' #set -g status-left-attr 'none' #setw -g window-status-fg 'colour121' #setw -g window-status-attr 'none' #setw -g window-status-activity-bg 'colour235' #setw -g window-status-activity-attr 'none' #setw -g window-status-activity-fg 'colour154' setw -g window-status-separator ' ' #setw -g window-status-bg 'colour235' set -g status-left '#[fg=colour232,bg=colour154] #S #[fg=colour154,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #W #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] #(whoami)  #(uptime | cut -d " " -f 1,2,3) #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]' set -g status-right '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour121,bg=colour235] %r  %a  %Y #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #H #[fg=colour154,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour232,bg=colour154] #(rainbarf --battery --remaining --no-rgb) ' setw -g window-status-format '#[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]#[default] #I  #W #[fg=colour235,bg=colour235,nobold,nounderscore,noitalics]' setw -g window-status-current-format '#[fg=colour235,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour222,bg=colour238] #I  #W  #F #[fg=colour238,bg=colour235,nobold,nounderscore,noitalics]' ''; }; }