Skip to content

Commit

Permalink
zellij: add theme
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 22, 2024
1 parent 4bef4f2 commit 606448e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion modules/home/all/zellij.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
programs.zellij = {
enable = true;
settings = {
theme = if pkgs.system == "aarch64-darwin" then "dracula" else "default";
theme = if pkgs.system == "aarch64-darwin" then "dracula" else "gruvbox-light";
# https://github.com/nix-community/home-manager/issues/3854
# https://github.com/zellij-org/zellij/blob/main/zellij-utils/assets/themes/gruvbox.kdl
themes.dracula = {
fg = [ 248 248 242 ];
bg = [ 40 42 54 ];
Expand All @@ -19,6 +20,19 @@
white = [ 255 255 255 ];
orange = [ 255 184 108 ];
};
themes.gruvbox-light = {
fg = [ 124 111 100 ];
bg = [ 251 82 75 ];
black = [ 40 40 40 ];
red = [ 205 75 69 ];
green = [ 152 151 26 ];
yellow = [ 215 153 33 ];
blue = [ 69 133 136 ];
magenta = [ 177 98 134 ];
cyan = [ 104 157 106 ];
white = [ 213 196 161 ];
orange = [ 214 93 14 ];
};
};
};
}

0 comments on commit 606448e

Please sign in to comment.