From dc8e3340bd956ca6325eaa2449a5e591412fa2d5 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 20 May 2024 09:17:43 +0100 Subject: [PATCH] Add zellij back with config --- programs/shell/default.nix | 1 + programs/shell/zellij.nix | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 programs/shell/zellij.nix diff --git a/programs/shell/default.nix b/programs/shell/default.nix index 7a65371..d3a763d 100644 --- a/programs/shell/default.nix +++ b/programs/shell/default.nix @@ -6,6 +6,7 @@ imports = [ ./git.nix ./bottom.nix + ./zellij.nix ]; xdg.configFile = let variants = ["Latte" "Frappe" "Macchiato" "Mocha"]; diff --git a/programs/shell/zellij.nix b/programs/shell/zellij.nix new file mode 100644 index 0000000..4dd2ff2 --- /dev/null +++ b/programs/shell/zellij.nix @@ -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; + }; + }; +}