Zellij: better theme and aliases

This commit is contained in:
Filippo Berto 2023-04-08 11:17:03 +02:00
parent a90886c623
commit 016bf7c189
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -5,7 +5,10 @@ in
{ {
programs.zellij.enable = true; programs.zellij.enable = true;
home.shellAliases."ze" = "zellij"; home.shellAliases = {
"ze" = "zellij";
"zec" = "zellij -l compact";
};
xdg.configFile."zellij/config.kdl".text = '' xdg.configFile."zellij/config.kdl".text = ''
theme "nix-rice" theme "nix-rice"
@ -15,16 +18,16 @@ in
xdg.configFile."zellij/themes/nix-rice.kdl".text = '' xdg.configFile."zellij/themes/nix-rice.kdl".text = ''
themes { themes {
nix-rice { nix-rice {
bg "${strPalette.primary.foreground}" bg "${strPalette.primary.dim_foreground}" // Foreground darker
fg "${strPalette.primary.background}" fg "${strPalette.primary.bright_foreground}" // Selection
red "${strPalette.normal.red}" red "${strPalette.normal.red}"
black "${strPalette.normal.black}" black "${strPalette.primary.background}" // Background
green "${strPalette.normal.green}" green "${strPalette.normal.green}"
yellow "${strPalette.normal.yellow}" yellow "${strPalette.normal.yellow}"
blue "${strPalette.normal.blue}" blue "${strPalette.normal.blue}"
magenta "${strPalette.normal.magenta}" magenta "${strPalette.normal.magenta}"
cyan "${strPalette.normal.cyan}" cyan "${strPalette.normal.cyan}"
white "${strPalette.normal.white}" white "${strPalette.primary.foreground}" // Foreground
orange "${strPalette.bright.red}" orange "${strPalette.bright.red}"
} }
} }