summaryrefslogtreecommitdiff
path: root/home-manager/modules/aesthetics/targets/zellij.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/modules/aesthetics/targets/zellij.nix')
-rw-r--r--home-manager/modules/aesthetics/targets/zellij.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/home-manager/modules/aesthetics/targets/zellij.nix b/home-manager/modules/aesthetics/targets/zellij.nix
new file mode 100644
index 0000000..cefd8ab
--- /dev/null
+++ b/home-manager/modules/aesthetics/targets/zellij.nix
@@ -0,0 +1,28 @@
+{ config, lib, ... }: let
+ cfg = config.aesthetics.targets.zellij;
+ aes = config.aesthetics;
+in {
+ options.aesthetics.targets.zellij.enable = lib.mkOption {
+ type = lib.types.bool;
+ default = aes.enableAllTargets;
+ description = "Whether to enable the aesthetics zellij target.";
+ };
+ config = lib.mkIf (cfg.enable && config.programs.zellij.enable) {
+ programs.zellij.settings = {
+ theme = "base16";
+ themes.base16 = with aes.scheme; {
+ bg = "#${base03}";
+ fg = "#${base05}";
+ red = "#${base08}";
+ green = "#${base0B}";
+ blue = "#${base0D}";
+ yellow = "#${base0A}";
+ magenta = "#${base0E}";
+ orange = "#${base09}";
+ cyan = "#${base0C}";
+ black = "#${base00}";
+ white = "#${base07}";
+ };
+ };
+ };
+}