add power theme and remove leader custom binding

This commit is contained in:
2024-03-15 22:23:41 +00:00
parent 48992246ba
commit 6d6831af71

View File

@ -3,8 +3,19 @@
enable = true; enable = true;
plugins = with pkgs; [ plugins = with pkgs; [
{ {
plugin = tmuxPlugins.gruvbox; plugin = tmuxPlugins.power-theme.overrideAttrs (_: {
extraConfig = "set -g @tmux-gruvbox 'dark'"; src = fetchFromGitHub {
owner = "wfxr";
repo = "tmux-power";
rev = "2e362c50e5772ba1d13a00628baba558b4220f41";
sha256 = "sha256-1hjQXC7261DiwrZ54PiwMLJM62srmP8koPNnTEp2zdI=";
};
});
extraConfig = "
set -g @tmux_power_theme '#83A3C2'
set -g @tmux_power_right_arrow_icon ''
set -g @tmux_power_left_arrow_icon ''
";
} }
]; ];
extraConfig = " extraConfig = "
@ -17,9 +28,9 @@
bind r source-file ~/.config/tmux/tmux.conf bind r source-file ~/.config/tmux/tmux.conf
# remap prefix from C-b to C-Space # remap prefix from C-b to C-Space
unbind C-b # unbind C-b
set -g prefix C-Space # set -g prefix C-Space
bind C-Space send-prefix # bind C-Space send-prefix
# split panes using | and - # split panes using | and -
unbind '\"' unbind '\"'