feat(kitty): better kitty configuration
This commit is contained in:
parent
e0a06e39cd
commit
a830ba8749
@ -1,11 +1,24 @@
|
|||||||
{
|
{pkgs, ...}:{
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
themeFile = "Nord";
|
themeFile = "Nord";
|
||||||
|
font = {
|
||||||
|
package = pkgs.cascadia-code;
|
||||||
|
name = "Cascadia Code";
|
||||||
|
size = 10;
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
enable_audio_bell = true;
|
enable_audio_bell = true;
|
||||||
|
visual_bell_duration = 0.1;
|
||||||
enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true";
|
enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true";
|
||||||
kitty_mod = "ctrl+shift";
|
kitty_mod = "ctrl+shift";
|
||||||
|
disable_ligatures = "never";
|
||||||
|
font_features = "Cascadia-Mono +onum +zero";
|
||||||
|
cursor_shape = "block";
|
||||||
|
scrollback_lines = "10000";
|
||||||
|
mouse_hide_wait = 3.0;
|
||||||
|
detect_urls = true;
|
||||||
|
background_opacity = 0.7;
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"alt+c" = "copy_to_clipboard";
|
"alt+c" = "copy_to_clipboard";
|
||||||
|
@ -96,14 +96,6 @@ in {
|
|||||||
tectonic # better LaTeX engine
|
tectonic # better LaTeX engine
|
||||||
virt-manager
|
virt-manager
|
||||||
zeal
|
zeal
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
|
||||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
|
||||||
# # fonts?
|
|
||||||
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
|
||||||
|
|
||||||
# Custom scripts
|
|
||||||
]
|
]
|
||||||
++ scripts;
|
++ scripts;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user