diff --git a/modules/home/kitty/config b/modules/home/kitty/config index 63b8b01..4f068db 100644 --- a/modules/home/kitty/config +++ b/modules/home/kitty/config @@ -1,16 +1,21 @@ +font_family Source Code Pro +font_size 10 +bold_font auto +italic_font auto +bold_italic_font auto copy_on_select no -clipboard_control no-append +clipboard_control read-clipboard write-clipboard no-append allow_hyperlinks yes detect_urls yes strip_trailing_spaces never window_alert_on_bell yes -enable_audio_bell = yes +enable_audio_bell yes bell_on_tab yes tab_bar_style hidden scrollback_lines 0 map ctrl+shift+v no_op -map ctrl+shift+p no_op +map ctrl+shift+c no_op background #1f2022 foreground #a3a3a3 diff --git a/modules/home/kitty/default.nix b/modules/home/kitty/default.nix index f968712..0486988 100644 --- a/modules/home/kitty/default.nix +++ b/modules/home/kitty/default.nix @@ -10,11 +10,8 @@ in config = mkIf cfg.enable { programs.kitty = { enable = true; - font = { - package = pkgs.source-code-pro; - name = "Source Code Pro 8"; - }; extraConfig = builtins.readFile ./config; }; + home.packages = [ pkgs.source-code-pro ]; }; } diff --git a/modules/home/tmux.nix b/modules/home/tmux.nix index 5cd465e..6654ccc 100644 --- a/modules/home/tmux.nix +++ b/modules/home/tmux.nix @@ -15,12 +15,10 @@ in set -g automatic-rename on set -g mode-keys vi set -g mouse on - set -g set-clipboard on + set -g set-clipboard external set -g set-titles on set -g status on set-window-option -g mode-keys vi - bind-key -Tcopy-mode v send -X begin-selection - bind-key -Tcopy-mode y send -X copy-selection ''; }; };