Skip to content

Commit

Permalink
feat: kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
yqrashawn committed Dec 26, 2024
1 parent 95b2e0a commit 7776e86
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 1 deletion.
5 changes: 5 additions & 0 deletions modules/yqrashawn/darwin/preferences.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
};
};
Expand Down
1 change: 1 addition & 0 deletions modules/yqrashawn/etc-zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
47 changes: 47 additions & 0 deletions modules/yqrashawn/home-manager/dotfiles/kitty.conf
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--single-instance
2 changes: 1 addition & 1 deletion modules/yqrashawn/home-manager/kitty/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ config, pkgs, ... }: {
programs.kitty = {
enable = true;
enable = false;
# package = pkgs.kitty;
package = pkgs.stable.kitty;
font = {
Expand Down

0 comments on commit 7776e86

Please sign in to comment.