mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-23 04:32:19 +00:00
tmux: use catppuccin theme
This commit is contained in:
parent
17d7376f5a
commit
289d1ec147
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ gitmux ];
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
aggressiveResize = true;
|
aggressiveResize = true;
|
||||||
|
@ -11,8 +14,13 @@
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
mouse = true;
|
mouse = true;
|
||||||
shell = "${pkgs.fish}/bin/fish";
|
shell = "${pkgs.fish}/bin/fish";
|
||||||
plugins = with pkgs.tmuxPlugins; [ tokyo-night-tmux ];
|
plugins = with pkgs.tmuxPlugins; [ catppuccin ];
|
||||||
extraConfig = ''
|
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
|
# new panes inherit current working directory
|
||||||
bind '%' split-window -h -c '#{pane_current_path}'
|
bind '%' split-window -h -c '#{pane_current_path}'
|
||||||
bind '"' split-window -v -c '#{pane_current_path}'
|
bind '"' split-window -v -c '#{pane_current_path}'
|
||||||
|
|
Loading…
Reference in a new issue