Skyler Turner | cddb5c4 | 2022-05-14 01:17:44 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | e11b9a7 | 2022-05-31 14:29:27 +0100 | [diff] [blame] | 2 | programs.kitty = { |
| 3 | enable = true; |
| 4 | |
| 5 | theme = "One Half"; |
Skyler Grey | c3585f1 | 2022-05-31 15:41:17 +0100 | [diff] [blame] | 6 | |
| 7 | settings = { |
| 8 | enable_audio_bell = "no"; |
| 9 | visual_bell_duration = "0.1"; |
| 10 | }; |
Skyler Grey | e11b9a7 | 2022-05-31 14:29:27 +0100 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | programs.zsh.initExtra = '' |
| 14 | if test -n "$KITTY_INSTALLATION_DIR"; then |
| 15 | export KITTY_SHELL_INTEGRATION="enabled" |
| 16 | autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration |
| 17 | kitty-integration |
| 18 | unfunction kitty-integration |
| 19 | fi |
Skyler Grey | 38b468f | 2022-08-11 11:57:28 +0100 | [diff] [blame] | 20 | ''; |
| 21 | |
| 22 | home.shellAliases = { |
| 23 | "icat" = "${pkgs.kitty}/bin/kitty +kitten icat"; |
| 24 | }; |
Skyler Turner | cddb5c4 | 2022-05-14 01:17:44 +0100 | [diff] [blame] | 25 | } |