mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 12:31:55 -05:00
29 lines
628 B
Nix
29 lines
628 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.kitty.enable {
|
|
programs.kitty = {
|
|
enable = true;
|
|
|
|
font = {
|
|
inherit (cfg.theme.monospaceFont) name;
|
|
size = cfg.theme.monospaceFont.size + 1;
|
|
};
|
|
|
|
settings = {
|
|
background_opacity = "0.8";
|
|
confirm_os_window_close = "0";
|
|
notify_on_cmd_finish = "unfocused 10.0 command ${lib.getExe pkgs.libnotify} -i ${pkgs.kitty}/share/icons/hicolor/256x256/apps/kitty.png \"Job Finished\"";
|
|
tab_bar_style = "powerline";
|
|
};
|
|
|
|
theme = "Adwaita dark";
|
|
};
|
|
};
|
|
}
|