This commit is contained in:
Filippo Berto 2023-03-22 10:44:48 +01:00
parent 8ae91e822c
commit dd505a0b1d
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 31 additions and 0 deletions

View file

@ -29,6 +29,7 @@
./ssh.nix
./starship.nix
./tmux.nix
./zellij.nix
./zoxide.nix
./zsh.nix
];

30
hm_modules/zellij.nix Normal file
View file

@ -0,0 +1,30 @@
{ pkgs, ... }:
let
strPalette = pkgs.lib.nix-rice.palette.toRgbHex pkgs.rice.colorPalette;
in
{
programs.zellij.enable = true;
xdg.configFile."zellij/config.kdl".text = ''
theme "nix-rice"
pane_frames false
'';
xdg.configFile."zellij/themes/nix-rice.kdl".text = ''
themes {
nix-rice {
bg "${strPalette.primary.foreground}"
fg "${strPalette.primary.background}"
red "${strPalette.normal.red}"
black "${strPalette.normal.black}"
green "${strPalette.normal.green}"
yellow "${strPalette.normal.yellow}"
blue "${strPalette.normal.blue}"
magenta "${strPalette.normal.magenta}"
cyan "${strPalette.normal.cyan}"
white "${strPalette.normal.white}"
orange "${strPalette.bright.red}"
}
}
'';
}