mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-28 03:37:12 +08:00
zellij: elaborate on theme setting
https://github.com/nix-community/home-manager/issues/3854
This commit is contained in:
parent
606448ef06
commit
a238b7b0e1
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue