--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2025-09-08 11:36:45 +02:00
parent eea02abfcb
commit 762085707c
136 changed files with 261 additions and 261 deletions

42
hm/modules/zellij.nix Normal file
View file

@ -0,0 +1,42 @@
{ nixosConfig, ... }:
with nixosConfig.nix-rice.lib;
let
strPalette = palette.toRgbHex nixosConfig.nix-rice.rice.colorPalette;
in
{
programs.zellij = {
enable = true;
enableZshIntegration = false;
enableBashIntegration = false;
enableFishIntegration = false;
};
home.shellAliases = {
"ze" = "zellij";
"zec" = "zellij -l compact";
};
xdg.configFile."zellij/config.kdl".text = ''
theme "nix-rice"
pane_frames false
show_startup_tips false
'';
xdg.configFile."zellij/themes/nix-rice.kdl".text = ''
themes {
nix-rice {
bg "${strPalette.primary.dim_foreground}" // Foreground darker
fg "${strPalette.primary.bright_foreground}" // Selection
red "${strPalette.normal.red}"
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.primary.foreground}" // Foreground
orange "${strPalette.bright.red}"
}
}
'';
}