48 lines
1.4 KiB
Nix
48 lines
1.4 KiB
Nix
{ pkgs, ... }: {
|
||
programs.tmux = {
|
||
enable = true;
|
||
mouse = true;
|
||
shell = "${pkgs.zsh}/bin/zsh";
|
||
prefix = "C-s";
|
||
terminal = "kitty";
|
||
keyMode = "vi";
|
||
|
||
extraConfig = ''
|
||
bind-key h select-pane -L
|
||
bind-key j select-pane -D
|
||
bind-key k select-pane -U
|
||
bind-key l select-pane -R
|
||
set -gq allow-passthrough on
|
||
'';
|
||
|
||
plugins = with pkgs; [
|
||
tmuxPlugins.vim-tmux-navigator
|
||
{
|
||
plugin = tmuxPlugins.catppuccin;
|
||
extraConfig = ''
|
||
set-option -g status-position top
|
||
set -g @catppuccin_window_left_separator ""
|
||
set -g @catppuccin_window_right_separator " "
|
||
set -g @catppuccin_window_middle_separator " █"
|
||
set -g @catppuccin_window_number_position "right"
|
||
|
||
set -g @catppuccin_window_default_fill "number"
|
||
set -g @catppuccin_window_default_text "#W"
|
||
|
||
set -g @catppuccin_window_current_fill "number"
|
||
set -g @catppuccin_window_current_text "#W"
|
||
|
||
set -g @catppuccin_status_modules_right ""
|
||
set -g @catppuccin_status_left_separator " "
|
||
set -g @catppuccin_status_right_separator ""
|
||
set -g @catppuccin_status_fill "icon"
|
||
set -g @catppuccin_status_connect_separator "no"
|
||
|
||
set -g @catppuccin_directory_text "#{pane_current_path}"
|
||
set -g @catppuccin_status_background "default"
|
||
'';
|
||
}
|
||
];
|
||
};
|
||
}
|