From be3d1bafbea9664a9c60e2ecf687426106d5d930 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 22 Dec 2024 14:23:49 -0600 Subject: [PATCH] tmux: extend statusbar with git, cpu, weather --- home/modules/tui/tmux.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/modules/tui/tmux.nix b/home/modules/tui/tmux.nix index 0ee454f..d7112a7 100644 --- a/home/modules/tui/tmux.nix +++ b/home/modules/tui/tmux.nix @@ -14,12 +14,15 @@ keyMode = "vi"; mouse = true; shell = "${pkgs.fish}/bin/fish"; - plugins = with pkgs.tmuxPlugins; [ catppuccin ]; + plugins = with pkgs.tmuxPlugins; [ catppuccin cpu weather ]; extraConfig = '' # catppuccin theme options set -g @catppuccin_flavour "mocha" - set -g @catppuccin_status_modules_right "application gitmux session" + set -g @catppuccin_status_modules_right "application gitmux cpu weather session" + set -g @tmux-weather-units "u" run-shell ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux + run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux + run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux # new panes inherit current working directory bind '%' split-window -h -c '#{pane_current_path}'