feat: add terminal - kitty

This commit is contained in:
Ryan Yin
2023-07-16 15:31:26 +08:00
parent 1b5a415d7a
commit e6b7e24a36
4 changed files with 27 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
./neovim
./development.nix
./kitty.nix
./media.nix
./shell.nix
];

View File

@@ -0,0 +1,17 @@
{ ... }: {
programs.kitty = {
enable = true;
theme = "Catppuccin-Mocha";
# darwinLaunchOptions = {};
font = {
name = " JetBrainsMono Nerd Font";
};
settings = {
background_opacity = "0.92";
macos_option_as_alt = true; # Option key acts as Alt on macOS
scrollback_lines = 10000;
enable_audio_bell = false;
};
};
}

View File

@@ -8,7 +8,7 @@
ffmpeg-full
# images
viu # terminal image viewer
viu # Terminal image viewer with native support for iTerm and Kitty
imagemagick
graphviz
];

View File

@@ -92,6 +92,14 @@ return {
{"nvim-treesitter/nvim-treesitter"}
}
},
{
'edluffy/hologram.nvim',
config = function()
require('hologram').setup({
auto_display = true -- WIP automatic markdown image display, may be prone to breaking
})
end,
},
-- Language Parser for syntax highlighting / indentation / folding / Incremental selection
{
"nvim-treesitter/nvim-treesitter",