Implemented Zellij Support (#108)

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
Michael McCandless 2023-06-18 21:36:00 +10:00 committed by GitHub
parent 0015e56326
commit 383d7306df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
modules/zellij/hm.nix Normal file
View file

@ -0,0 +1,26 @@
{ pkgs, config, lib, ... }:
{
options.stylix.targets.zellij.enable =
config.lib.stylix.mkEnableTarget "zellij" config.programs.zellij.enable ;
config = lib.mkIf config.stylix.targets.zellij.enable {
programs.zellij.settings = {
theme = "stylix";
themes.stylix = with config.lib.stylix.colors.withHashtag; {
bg = base00;
fg = base05;
red = base08;
green = base0B;
blue = base0D;
yellow = base0A;
magenta = base0E;
orange = base09;
cyan = base0C;
black = base03;
white = base05;
};
};
};
}