From 606448ef06935842fd0952ad4be784c1062db84d Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 22 Oct 2024 18:10:30 -0400 Subject: [PATCH] zellij: add theme --- modules/home/all/zellij.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/home/all/zellij.nix b/modules/home/all/zellij.nix index ad069b7..67a3959 100644 --- a/modules/home/all/zellij.nix +++ b/modules/home/all/zellij.nix @@ -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 ]; @@ -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 ]; + }; }; }; }