Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame^] | 1 | { pkgs, ... }: { |
Skyler Grey | 3de6ec9 | 2022-08-26 08:01:08 +0100 | [diff] [blame] | 2 | home = { |
| 3 | programs.kitty = { |
| 4 | enable = true; |
| 5 | |
| 6 | theme = "One Half Dark"; |
| 7 | |
| 8 | settings = { |
| 9 | enable_audio_bell = "no"; |
| 10 | visual_bell_duration = "0.1"; |
Skyler Grey | f6d6986 | 2022-09-11 00:39:50 +0100 | [diff] [blame] | 11 | symbol_map = "U+E0A0-U+E0A3 PowerlineSymbols"; |
Skyler Grey | 3de6ec9 | 2022-08-26 08:01:08 +0100 | [diff] [blame] | 12 | disable_ligatures = "cursor"; |
| 13 | }; |
| 14 | }; |
| 15 | programs.zsh.initExtra = '' |
| 16 | if test -n "$KITTY_INSTALLATION_DIR"; then |
| 17 | export KITTY_SHELL_INTEGRATION="enabled" |
| 18 | autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration |
| 19 | kitty-integration |
| 20 | unfunction kitty-integration |
| 21 | fi |
| 22 | ''; |
| 23 | |
| 24 | home.shellAliases = { |
| 25 | icat = "${pkgs.kitty}/bin/kitty +kitten icat"; |
| 26 | }; |
| 27 | }; |
| 28 | } |