tmux: use catppuccin theme

This commit is contained in:
John Bowdre 2024-12-22 13:42:10 -06:00
parent 17d7376f5a
commit 289d1ec147
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -1,4 +1,7 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ gitmux ];
programs.tmux = {
enable = true;
aggressiveResize = true;
@ -11,8 +14,13 @@
keyMode = "vi";
mouse = true;
shell = "${pkgs.fish}/bin/fish";
plugins = with pkgs.tmuxPlugins; [ tokyo-night-tmux ];
plugins = with pkgs.tmuxPlugins; [ catppuccin ];
extraConfig = ''
# catppuccin theme options
set -g @catppuccin_flavour "mocha"
set -g @catppuccin_status_modules_right "application gitmux session"
run-shell ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux
# new panes inherit current working directory
bind '%' split-window -h -c '#{pane_current_path}'
bind '"' split-window -v -c '#{pane_current_path}'