From 289d1ec147e55af8e0485008c1538f84f036998f Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 22 Dec 2024 13:42:10 -0600 Subject: [PATCH] tmux: use catppuccin theme --- home/modules/tui/tmux.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/home/modules/tui/tmux.nix b/home/modules/tui/tmux.nix index daf0af2..0ee454f 100644 --- a/home/modules/tui/tmux.nix +++ b/home/modules/tui/tmux.nix @@ -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}'