90 lines
1.6 KiB
Nix
Executable File
90 lines
1.6 KiB
Nix
Executable File
{
|
|
inputs,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
|
|
let
|
|
kittyConfig = ''
|
|
map ctrl+r send_text all \x15shellhistory\r
|
|
'';
|
|
in
|
|
{
|
|
programs.kitty = {
|
|
enable = true;
|
|
shellIntegration.enableZshIntegration = true;
|
|
# extraConfig = kittyConfig;
|
|
|
|
settings = {
|
|
confirm_os_window_close = 0;
|
|
# dynamic_background_opacity = true;
|
|
enable_audio_bell = false;
|
|
mouse_hide_wait = "-1.0";
|
|
window_padding_width = 5;
|
|
# background_opacity = "0.95";
|
|
# background_blur = 5;
|
|
# background = "#ff00ff";
|
|
hide_window_decorations = true;
|
|
# themeFile = "Alucard";
|
|
|
|
symbol_map =
|
|
let
|
|
mappings = [
|
|
"U+23FB-U+23FE"
|
|
"U+2B58"
|
|
"U+E200-U+E2A9"
|
|
"U+E0A0-U+E0A3"
|
|
"U+E0B0-U+E0BF"
|
|
"U+E0C0-U+E0C8"
|
|
"U+E0CC-U+E0CF"
|
|
"U+E0D0-U+E0D2"
|
|
"U+E0D4"
|
|
"U+E700-U+E7C5"
|
|
"U+F000-U+F2E0"
|
|
"U+2665"
|
|
"U+26A1"
|
|
"U+F400-U+F4A8"
|
|
"U+F67C"
|
|
"U+E000-U+E00A"
|
|
"U+F300-U+F313"
|
|
"U+E5FA-U+E62B"
|
|
];
|
|
in
|
|
(builtins.concatStringsSep "," mappings) + " Symbols Nerd Font";
|
|
};
|
|
};
|
|
}
|
|
|
|
# {
|
|
# config,
|
|
# lib,
|
|
# pkgs,
|
|
# ...
|
|
# }:
|
|
# let
|
|
# kittyConfig = ''
|
|
# font_size 16.0
|
|
|
|
# background_opacity 0.7
|
|
# background_blur 1
|
|
|
|
# hide_window_decorations yes
|
|
|
|
# map ctrl+shift+t new_tab_with_cwd
|
|
# '';
|
|
# in
|
|
# {
|
|
# home.packages = with pkgs; [
|
|
# kitty
|
|
# ];
|
|
|
|
# programs.kitty = {
|
|
# shellIntegration.enableZshIntegration = true;
|
|
# enable = true;
|
|
|
|
# extraConfig = kittyConfig;
|
|
# };
|
|
# }
|