23 lines
722 B
Nix
23 lines
722 B
Nix
{ ... }: {
|
|
# Enable tmux
|
|
programs.tmux = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
set -g mouse on
|
|
set -g base-index 1
|
|
set -g default-terminal "st-256color"
|
|
set -g history-limit 4096
|
|
set -g set-titles on
|
|
set -g set-titles-string "#T"
|
|
set -g status on
|
|
set -g status-left ""
|
|
set -g status-position bottom
|
|
set -g status-right "#[bg=brightblack]#[fg=dark_purple] #T "
|
|
set -g status-style "bg=black"
|
|
setw -g pane-base-index 1
|
|
setw -g window-status-format "#[bg=brightmagenta]#[fg=black] #I #[bg=brightblack]#[fg=white] #W "
|
|
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=black] #I #[bg=white]#[fg=black] #W "
|
|
'';
|
|
};
|
|
}
|