From 910446adebc23c75cb0d2b4b99d84d12c299779f Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 4 Jan 2024 19:12:50 +0900 Subject: [PATCH] Update kitty --- home-manager/common/software/gui/kitty.nix | 48 ++++++++++------------ 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/home-manager/common/software/gui/kitty.nix b/home-manager/common/software/gui/kitty.nix index 02d098c4..e3482cab 100644 --- a/home-manager/common/software/gui/kitty.nix +++ b/home-manager/common/software/gui/kitty.nix @@ -2,32 +2,26 @@ # Kitty Conf # https://sw.kovidgoyal.net/kitty/conf/ - # Theme - imports = [ ./themes/${theme}/kitty-theme.nix ]; + programs.kity = { + enable = true; + shellIntegration = { + enableBashIntegration = true; + }; + settings = { + sync_to_monitor = true; + bell_on_tab = "🔔 "; + window_alert_on_bell = true; + visual_bell_color = ""; + command_on_bell = ""; + tab_bar_edge = "top"; + tab_bar_style = "fade"; + tab_bar_align = "left"; + tab_bar_min_tabs = 2; + tab_powerline_style = "angled"; + tab_title_template = "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"; + allow_hyperlinks = true; + disable_ligatures = "never"; + }; + }; - home.file.".config/kitty/kitty.conf".text = '' - sync_to_monitor yes - bell_on_tab "🔔 " - window_alert_on_bell yes - visual_bell_color none - command_on_bell none - - tab_bar_edge bottom - tab_bar_style powerline - tab_bar_align center - tab_bar_min_tabs 2 - tab_powerline_style angled - tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}" - - allow_hyperlinks yes - disable_ligatures never - shell_integration enabled - - font_family JetBrainsMono Nerd Medium - bold_font JetBrainsMono Nerd Bold - italic_font JetBrainsMono Nerd Italic - bold_italic_font JetBrainsMono Nerd Bold Italic - - include ./theme.conf - ''; }