mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
62 lines
1.4 KiB
Nix
62 lines
1.4 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.programs.kitty;
|
|
in
|
|
{
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = [
|
|
pkgs.nerd-fonts.iosevka
|
|
];
|
|
|
|
programs.kitty = lib.mkIf cfg.enable {
|
|
font.name = "family=\"Iosevka NFM\"";
|
|
|
|
settings = rec {
|
|
# Make text thicker
|
|
text_composition_strategy = lib.mkIf pkgs.stdenv.isLinux "2.8 0";
|
|
|
|
# Don't prompt
|
|
confirm_os_window_close = 0;
|
|
|
|
# Never underline links
|
|
underline_hyperlinks = "never";
|
|
|
|
# No default bindings
|
|
clear_all_shortcuts = "no";
|
|
|
|
# cursor
|
|
cursor_blink_interval = 1;
|
|
cursor_stop_blinking_after = 15; # always blink
|
|
|
|
# theme
|
|
background = "#fdf6e3";
|
|
foreground = "#073642";
|
|
cursor = "#000000";
|
|
cursor_text_color = "#ffffff";
|
|
selection_foreground = foreground;
|
|
selection_background = "#dbcba3";
|
|
color0 = "#073642";
|
|
color8 = "#4d4d4d";
|
|
color1 = "#af005f";
|
|
color9 = "#d33682";
|
|
color2 = "#859900";
|
|
color10 = "#29a350";
|
|
color3 = "#ba9b23";
|
|
color11 = "#d6b429";
|
|
color4 = "#268bd2";
|
|
color12 = "#469edd";
|
|
color5 = "#5f5faf";
|
|
color13 = "#6060d1";
|
|
color6 = "#2aa198";
|
|
color14 = "#4bccc1"; # a platupus? perry the platupus?
|
|
color7 = "#a0a1a7";
|
|
color15 = "#eeeadd";
|
|
};
|
|
};
|
|
};
|
|
}
|