Add zellij back with config
This commit is contained in:
parent
be12b97580
commit
dc8e3340bd
|
@ -6,6 +6,7 @@
|
|||
imports = [
|
||||
./git.nix
|
||||
./bottom.nix
|
||||
./zellij.nix
|
||||
];
|
||||
xdg.configFile = let
|
||||
variants = ["Latte" "Frappe" "Macchiato" "Mocha"];
|
||||
|
|
23
programs/shell/zellij.nix
Normal file
23
programs/shell/zellij.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
settings = {
|
||||
themes.base16 = with config.scheme.withHashtag; rec {
|
||||
inherit red green yellow blue magenta cyan orange;
|
||||
black = base05;
|
||||
bg = black;
|
||||
white = base00;
|
||||
fg = white;
|
||||
};
|
||||
theme = "base16";
|
||||
default_mode = "locked";
|
||||
mouse_mode = true;
|
||||
copy_command = lib.mkIf config.wayland.windowManager.sway.enable "wl-copy";
|
||||
copy_on_select = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue