Add zellij back with config

This commit is contained in:
Evie Litherland-Smith 2024-05-20 09:17:43 +01:00
parent be12b97580
commit dc8e3340bd
2 changed files with 24 additions and 0 deletions

View file

@ -6,6 +6,7 @@
imports = [ imports = [
./git.nix ./git.nix
./bottom.nix ./bottom.nix
./zellij.nix
]; ];
xdg.configFile = let xdg.configFile = let
variants = ["Latte" "Frappe" "Macchiato" "Mocha"]; variants = ["Latte" "Frappe" "Macchiato" "Mocha"];

23
programs/shell/zellij.nix Normal file
View 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;
};
};
}