dotfiles

My PC Dotfiles & Website

modules/desktop/_wm/terminal.nix (942B)


 1## Terminal Emulator
 2_: {
 3  home = {
 4    pkgs,
 5    lib,
 6    ...
 7  }: {
 8    programs.kitty = {
 9      enable = true;
10      themeFile = lib.mkDefault "Catppuccin-Macchiato";
11      keybindings = {
12        "ctrl+c" = "copy_or_interrupt";
13        "kitty_mod+f" = "launch --allow-remote-control kitty +kitten search/search.py @active-kitty-window-id";
14      };
15
16      settings = {
17        kitty_mod = "ctrl+shift";
18        confirm_os_window_close = 2;
19        copy_on_select = "clipboard";
20        placement_strategy = "center";
21        scrollback_lines = 10000;
22        enable_audio_bell = "no";
23        visual_bell_duration = "0.1";
24
25        background_blur = 1;
26        cursor_shape = "beam";
27        cursor_shape_unfocused = "underline";
28        tab_bar_style = "powerline";
29        tab_powerline_style = "round";
30        window_padding_width = 10;
31      };
32    };
33
34    home.file.".config/kitty/search".source = pkgs.custom.kitty-search;
35  };
36}