begin modularization

This commit is contained in:
Odweta
2026-01-12 10:16:59 +01:00
parent 9c9cbada43
commit 939d734e91
39 changed files with 40 additions and 60 deletions
+80
View File
@@ -0,0 +1,80 @@
{ pkgs, ... }:
{
programs.kitty = {
enable = true;
package = pkgs.kitty;
font = {
name = "Hurmit Nerd Font Mono";
size = 16.0;
};
settings = {
# Performance / rendering
enable_audio_bell = "no";
repaint_delay = 10;
input_delay = 1;
sync_to_monitor = "yes";
# Wayland
wayland_enable_ime = "yes";
linux_display_server = "wayland";
# Clipboard
clipboard_control = "write-clipboard write-primary read-clipboard";
# Cursor
cursor_shape = "block";
cursor_blink_interval = 0;
# Scrollback
scrollback_lines = 10000;
# Window
remember_window_size = "yes";
initial_window_width = "100c";
initial_window_height = "30c";
confirm_os_window_close = 0;
# Tabs
tab_bar_style = "powerline";
tab_powerline_style = "slanted";
active_tab_font_style = "bold";
inactive_tab_font_style = "normal";
# Shell
shell = "${pkgs.bash}/bin/bash";
# Colors (example dark)
background = "#0f111a";
foreground = "#c0caf5";
selection_background = "#33467c";
selection_foreground = "#ffffff";
};
keybindings = {
"ctrl+shift+enter" = "new_window";
"ctrl+shift+t" = "new_tab";
"ctrl+shift+w" = "close_tab";
"ctrl+shift+right" = "next_tab";
"ctrl+shift+left" = "previous_tab";
"ctrl+shift+up" = "increase_font_size";
"ctrl+shift+down" = "decrease_font_size";
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
};
extraConfig = ''
# Disable ligatures selectively (example)
disable_ligatures never
# URL hints
map ctrl+shift+u kitten hints
# Truecolor fix
term xterm-kitty
'';
};
}