split kitty out to graphical

This commit is contained in:
atagen 2025-07-21 13:13:20 +10:00
parent 3095dc27fe
commit af5e727222
2 changed files with 41 additions and 33 deletions

View file

@ -50,37 +50,4 @@ in
EDITOR = "hx";
};
hm.programs.kitty = {
enable = true;
font = {
inherit (rice.fonts.monospace) name size;
};
settings = with rice.palette.hex; {
foreground = util.fg;
background = util.bg;
inherit (util) cursor;
cursor_text = util.bg;
selection_foreground = util.fg_sel;
selection_background = util.bg_sel;
color0 = normal.black;
color1 = normal.red;
color2 = normal.green;
color3 = normal.yellow;
color4 = normal.blue;
color5 = normal.magenta;
color6 = normal.cyan;
color7 = normal.white;
color8 = bright.black;
color9 = bright.red;
color10 = bright.green;
color11 = bright.yellow;
color12 = bright.blue;
color13 = bright.magenta;
color14 = bright.cyan;
color15 = bright.white;
sync_to_monitor = "yes";
shell = "fish";
cursor_trail = 100;
};
};
}

41
graphical/terminal.nix Normal file
View file

@ -0,0 +1,41 @@
{ config, ... }:
{
hm.programs.kitty =
let
inherit (config) rice;
in
{
enable = true;
font = {
inherit (rice.fonts.monospace) name size;
};
settings = with rice.palette.hex; {
foreground = util.fg;
background = util.bg;
inherit (util) cursor;
cursor_text = util.bg;
selection_foreground = util.fg_sel;
selection_background = util.bg_sel;
color0 = normal.black;
color1 = normal.red;
color2 = normal.green;
color3 = normal.yellow;
color4 = normal.blue;
color5 = normal.magenta;
color6 = normal.cyan;
color7 = normal.white;
color8 = bright.black;
color9 = bright.red;
color10 = bright.green;
color11 = bright.yellow;
color12 = bright.blue;
color13 = bright.magenta;
color14 = bright.cyan;
color15 = bright.white;
sync_to_monitor = "yes";
shell = "fish";
cursor_trail = 100;
};
};
}