diff --git a/modules/yqrashawn/darwin/preferences.nix b/modules/yqrashawn/darwin/preferences.nix index c32787a4..f0352953 100644 --- a/modules/yqrashawn/darwin/preferences.nix +++ b/modules/yqrashawn/darwin/preferences.nix @@ -323,6 +323,11 @@ in { echo 'link ~/.config/zed' ln -s ~/.nixpkgs/modules/yqrashawn/home-manager/dotfiles/zed ~/.config/zed fi + if [ ! -e ~/.config/kitty/kitty.conf ]; then + echo 'link ~/.config/kitty/kitty.conf' + ln -s ~/.nixpkgs/modules/yqrashawn/home-manager/dotfiles/kitty.conf ~/.config/kitty/kitty.conf + ln -s ~/.nixpkgs/modules/yqrashawn/home-manager/dotfiles/macos-launch-services-cmdline ~/.config/kitty/macos-launch-services-cmdline + fi ''; }; }; diff --git a/modules/yqrashawn/etc-zsh.nix b/modules/yqrashawn/etc-zsh.nix index b967cbf6..1c6727c1 100644 --- a/modules/yqrashawn/etc-zsh.nix +++ b/modules/yqrashawn/etc-zsh.nix @@ -4,6 +4,7 @@ let paths = [ "$HOME/Library/CloudStorage/Dropbox/sync/scripts" "$HOME/common-lisp/lem" + "/Applications/kitty.app/Contents/MacOS" "/Applications/Firefox Developer Edition.app/Contents/MacOS" "$HOME/.qlot/bin" "$HOME/.web3j" diff --git a/modules/yqrashawn/home-manager/dotfiles/kitty.conf b/modules/yqrashawn/home-manager/dotfiles/kitty.conf new file mode 100644 index 00000000..aa39cabd --- /dev/null +++ b/modules/yqrashawn/home-manager/dotfiles/kitty.conf @@ -0,0 +1,47 @@ +# Generated by Home Manager. +# See https://sw.kovidgoyal.net/kitty/conf.html +font_family PragmataPro Mono Liga Regular +italic_font PragmataPro Mono Liga Italic +bold_font PragmataPro Mono Liga Bold +bold_italic_font PragmataPro Mono Liga Bold Italic + +font_size 20.0 + +disable_ligatures cursor + +font_features PragmataProMonoLiga +calt +font_features PragmataProMonoLiga-Bold +calt +font_features PragmataProMonoLiga-Italic +ss06 +calt +font_features PragmataProMonoLiga-BoldItalic +ss07 +calt + +# modify_font underline_thickness 400% +# modify_font underline_position 2 + +scrollback_lines 10000 + +shell_integration enabled + +copy_on_select yes +enable_audio_bell no +input_delay 0 +macos_option_as_alt yes +macos_show_window_title_in all +macos_traditional_fullscreen yes +macos_titlebar_color background +repaint_delay 10 +strip_trailing_spaces smart +sync_to_monitor no +tab_bar_edge bottom +# term xterm-256color +term xterm-kitty +visual_bell_duration 0.0 +window_alert_on_bell no +paste_actions quote-urls-at-prompt,confirm-if-large + + + +# Send a notification when a command takes more than 10 seconds in a invisible window +notify_on_cmd_finish invisible 10.0 +allow_remote_control no + +include current-theme.conf diff --git a/modules/yqrashawn/home-manager/dotfiles/macos-launch-services-cmdline b/modules/yqrashawn/home-manager/dotfiles/macos-launch-services-cmdline new file mode 100644 index 00000000..140092e1 --- /dev/null +++ b/modules/yqrashawn/home-manager/dotfiles/macos-launch-services-cmdline @@ -0,0 +1 @@ +--single-instance \ No newline at end of file diff --git a/modules/yqrashawn/home-manager/kitty/default.nix b/modules/yqrashawn/home-manager/kitty/default.nix index 4d8f96f3..fb976a4a 100644 --- a/modules/yqrashawn/home-manager/kitty/default.nix +++ b/modules/yqrashawn/home-manager/kitty/default.nix @@ -1,6 +1,6 @@ { config, pkgs, ... }: { programs.kitty = { - enable = true; + enable = false; # package = pkgs.kitty; package = pkgs.stable.kitty; font = {