tmux: extend statusbar with git, cpu, weather

This commit is contained in:
John Bowdre 2024-12-22 14:23:49 -06:00
parent 76965371d3
commit be3d1bafbe
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -14,12 +14,15 @@
keyMode = "vi"; keyMode = "vi";
mouse = true; mouse = true;
shell = "${pkgs.fish}/bin/fish"; shell = "${pkgs.fish}/bin/fish";
plugins = with pkgs.tmuxPlugins; [ catppuccin ]; plugins = with pkgs.tmuxPlugins; [ catppuccin cpu weather ];
extraConfig = '' extraConfig = ''
# catppuccin theme options # catppuccin theme options
set -g @catppuccin_flavour "mocha" 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.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 # new panes inherit current working directory
bind '%' split-window -h -c '#{pane_current_path}' bind '%' split-window -h -c '#{pane_current_path}'