NixOS-Config/modules/home/programs/terminal/tmux/default.nix

25 lines
664 B
Nix
Raw Permalink Normal View History

2024-10-09 03:36:08 -04:00
{ ... }:
{
2024-08-24 22:16:51 -04:00
programs.tmux = {
enable = true;
keyMode = "vi";
mouse = true;
terminal = "st-256color";
historyLimit = 4096;
baseIndex = 1;
2024-08-24 22:16:51 -04:00
extraConfig = ''
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"
set -g set-titles on
set -g set-titles-string "#T"
2024-08-24 22:16:51 -04:00
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 "
'';
};
}