From 016bf7c18951e9893e2c16e5d04903162b071c41 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sat, 8 Apr 2023 11:17:03 +0200 Subject: [PATCH] Zellij: better theme and aliases --- hm_modules/zellij.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hm_modules/zellij.nix b/hm_modules/zellij.nix index f2b7434..de242d5 100644 --- a/hm_modules/zellij.nix +++ b/hm_modules/zellij.nix @@ -5,7 +5,10 @@ in { programs.zellij.enable = true; - home.shellAliases."ze" = "zellij"; + home.shellAliases = { + "ze" = "zellij"; + "zec" = "zellij -l compact"; + }; xdg.configFile."zellij/config.kdl".text = '' theme "nix-rice" @@ -15,16 +18,16 @@ in xdg.configFile."zellij/themes/nix-rice.kdl".text = '' themes { nix-rice { - bg "${strPalette.primary.foreground}" - fg "${strPalette.primary.background}" + bg "${strPalette.primary.dim_foreground}" // Foreground darker + fg "${strPalette.primary.bright_foreground}" // Selection red "${strPalette.normal.red}" - black "${strPalette.normal.black}" + black "${strPalette.primary.background}" // Background green "${strPalette.normal.green}" yellow "${strPalette.normal.yellow}" blue "${strPalette.normal.blue}" magenta "${strPalette.normal.magenta}" cyan "${strPalette.normal.cyan}" - white "${strPalette.normal.white}" + white "${strPalette.primary.foreground}" // Foreground orange "${strPalette.bright.red}" } }