From a238b7b0e1c48b2da51025e42898d64795c9327a Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 22 Oct 2024 18:11:59 -0400 Subject: [PATCH] zellij: elaborate on theme setting https://github.com/nix-community/home-manager/issues/3854 --- modules/home/all/zellij.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/all/zellij.nix b/modules/home/all/zellij.nix index 67a3959..7ebd810 100644 --- a/modules/home/all/zellij.nix +++ b/modules/home/all/zellij.nix @@ -5,7 +5,9 @@ enable = true; settings = { theme = if pkgs.system == "aarch64-darwin" then "dracula" else "gruvbox-light"; - # https://github.com/nix-community/home-manager/issues/3854 + # NOTE: There's no way to set theme by name. + # See https://github.com/nix-community/home-manager/issues/3854 + # But we can manually convert this syntax using LLM, # https://github.com/zellij-org/zellij/blob/main/zellij-utils/assets/themes/gruvbox.kdl themes.dracula = { fg = [ 248 248 242 ];