2024-09-24 21:47:52 +00:00
|
|
|
|
{pkgs, ...}: {
|
2024-08-25 19:58:12 +00:00
|
|
|
|
programs.tmux = {
|
|
|
|
|
enable = true;
|
|
|
|
|
prefix = "C-space";
|
|
|
|
|
escapeTime = 10;
|
|
|
|
|
clock24 = true;
|
|
|
|
|
keyMode = "vi";
|
2024-09-24 13:09:36 +00:00
|
|
|
|
mouse = true;
|
2024-08-25 19:58:12 +00:00
|
|
|
|
baseIndex = 1;
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
set-option -a terminal-features "''${TERM}:RGB"
|
|
|
|
|
'';
|
|
|
|
|
plugins = with pkgs; [
|
|
|
|
|
{
|
|
|
|
|
plugin = tmuxPlugins.catppuccin;
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
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 "directory user host session"
|
|
|
|
|
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_flavor 'frappe'
|
|
|
|
|
'';
|
|
|
|
|
}
|
|
|
|
|
tmuxPlugins.vim-tmux-navigator
|
|
|
|
|
tmuxPlugins.yank
|
|
|
|
|
];
|
|
|
|
|
};
|
2024-08-26 13:08:32 +00:00
|
|
|
|
programs.fzf.tmux.enableShellIntegration = true;
|
2024-08-25 19:58:12 +00:00
|
|
|
|
}
|