This commit is contained in:
Asaki Yuki 2026-04-13 19:23:45 +07:00
parent 8ad9377b38
commit 0f6fdf63f1
5 changed files with 259 additions and 250 deletions

View file

@ -1,50 +1,54 @@
{ lib, osconfig, ... }: {
programs.ghostty = lib.mkIf (osconfig.device.programs.terminal == "ghostty") {
{ lib, osconfig, ... }:
{
programs.ghostty =
lib.mkIf
(osconfig.device.programs.terminal.enable && osconfig.device.programs.terminal.name == "ghostty")
{
enable = true;
settings = {
theme = "catppuccin-mocha";
theme = "catppuccin-mocha";
font-size = 10;
font-family = "SauceCodePro NFP Bold";
font-size = 10;
font-family = "SauceCodePro NFP Bold";
window-width = 230;
window-height = 68;
window-width = 230;
window-height = 68;
window-padding-x = 5;
window-padding-y = 0;
window-padding-x = 5;
window-padding-y = 0;
keybind = [
keybind = [
"ctrl+shift+n=unbind"
"ctrl+shift+i=unbind"
];
};
];
};
themes = {
catppuccin-mocha = {
themes = {
catppuccin-mocha = {
background = "1e1e2e";
cursor-color = "f5e0dc";
foreground = "cdd6f4";
palette = [
"0=#45475a"
"1=#f38ba8"
"2=#a6e3a1"
"3=#f9e2af"
"4=#89b4fa"
"5=#f5c2e7"
"6=#94e2d5"
"7=#bac2de"
"8=#585b70"
"9=#f38ba8"
"10=#a6e3a1"
"11=#f9e2af"
"12=#89b4fa"
"13=#f5c2e7"
"14=#94e2d5"
"15=#a6adc8"
"0=#45475a"
"1=#f38ba8"
"2=#a6e3a1"
"3=#f9e2af"
"4=#89b4fa"
"5=#f5c2e7"
"6=#94e2d5"
"7=#bac2de"
"8=#585b70"
"9=#f38ba8"
"10=#a6e3a1"
"11=#f9e2af"
"12=#89b4fa"
"13=#f5c2e7"
"14=#94e2d5"
"15=#a6adc8"
];
selection-background = "353749";
selection-foreground = "cdd6f4";
};
};
};
};
}
};
}