Zellij
This commit is contained in:
parent
8ae91e822c
commit
dd505a0b1d
2 changed files with 31 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
|
./zellij.nix
|
||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
30
hm_modules/zellij.nix
Normal file
30
hm_modules/zellij.nix
Normal 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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue