Adding kitty
This commit is contained in:
@@ -40,9 +40,27 @@
|
||||
gaps_out = 0;
|
||||
};
|
||||
|
||||
animations = {
|
||||
bezier = "easeOutQuad, 0.5, 1, 0.89, 1";
|
||||
animation = [
|
||||
"windows, 1, 4, easeOutQuad"
|
||||
"windowsMove, 1, 1, easeOutQuad"
|
||||
"windowsOut, 1, 4, default, popin 80%"
|
||||
"border, 1, 4, default"
|
||||
"borderangle, 1, 4, default"
|
||||
"fade, 1, 4, default"
|
||||
"workspaces, 1, 3, default"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
dwindle = { preserve_split = "yes"; };
|
||||
master = { orientation = "center"; };
|
||||
|
||||
"exec-once" = [
|
||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
];
|
||||
|
||||
"$mod" = "SUPER";
|
||||
bind = [
|
||||
"$mod, t, exec, kitty"
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{ config, pkgs, ... }: {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
confirm_os_window_close = 0;
|
||||
enable_audio_bell = false;
|
||||
|
||||
enabled_layouts = "tall, grid, fat, splits";
|
||||
|
||||
# font
|
||||
font_family = "FiraCode Nerd Font Reg";
|
||||
bold_font = "FiraCode Nerd Font Bold";
|
||||
italic_font = "VictorMono Nerd Font Mono Oblique";
|
||||
bold_italic_font = "VictorMono Nerd Font Mono Bold Oblique";
|
||||
font_size = 12;
|
||||
disable_ligatures = "cursor";
|
||||
|
||||
# keys
|
||||
keybindings = {
|
||||
"kitty_mod+t" = "new_tab_with_cmd";
|
||||
"kitty_mod+enter" = "new_window_with_cwd";
|
||||
"kitty_mod+r" = "set_tab_title";
|
||||
|
||||
"kitty_mod+u" = "previous_tab";
|
||||
"kitty_mod+i" = "next_tab";
|
||||
|
||||
"ctrl+shift+l" = "next_layout";
|
||||
"ctrl+shift+left" = "resize_window narrower";
|
||||
"ctrl+shift+right" = "resize_window right";
|
||||
|
||||
"ctrl+shift+0x27" = "change_font_size all +2.0";
|
||||
"ctrl+shift+minus" = "change_font_size all -2.0";
|
||||
"ctrl+shift+backspace" = "change_font_size all 0";
|
||||
|
||||
"kitty_mod+h" = "neighboring_window left";
|
||||
"kitty_mod+j" = "neighboring_window down";
|
||||
"kitty_mod+k" = "neighboring_window up";
|
||||
"kitty_mod+l" = "neighboring_window right";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user