Kitty: Difference between revisions

Layer-09 (talk | contribs)
m Removed numbering
Layer-09 (talk | contribs)
m Changed structure to fit with my other pages
 
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>


==== System-Wide Installation on NixOS ====
==== Using Global Configuration ====
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
environment.systemPackages = [
environment.systemPackages = [
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


==== User-Specific Installation with Home Manager ====
==== Using Home Configuration ====
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
home.packages = [  
home.packages = [  
Line 29: Line 29:


== Configuration ==
== Configuration ==
{{Note|Currently, configuring Kitty is possible only by using Home Manager.}}
<div style="border: 1px solid #2E8B57; background: #DFF2DF; padding: 30px; border-radius: 5px; margin: 10px 0px; display: flex; align-items: center;">
    <div style="color: #2E8B57; font-size: 40px; margin-right: 15px; background: #DFF2DF; display: flex; line-height: 0; align-items: center;">✦</div>
    <div style="color: #2E8B57; font-size: 15px; font-style: normal; font-weight: 400; line-height: normal; text-align: left;">Kitty can be configured exclusively through the Home Manager.</div>
</div>


==== Basic ====
==== Basic ====
Line 79: Line 82:
== Tips and Tricks ==
== Tips and Tricks ==


==== Where to see a list of options? ====
==== Location of Options ====
The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.kitty.enable Home Manager Options Manual].
The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.kitty.enable Home Manager Options Manual].


==== Can this be used with stylix? ====
==== Stylix Integration ====
Yes, it can. See the following configuration:<syntaxhighlight lang="nix">
Yes, it can. See the following configuration:<syntaxhighlight lang="nix">
extraConfig = with config.stylix.base16Scheme; ''
extraConfig = with config.stylix.base16Scheme; ''
Line 133: Line 136:
</syntaxhighlight>
</syntaxhighlight>


==== How to map kitty to a key? ====
==== Keymaps ====
It depends on the window manager that you are using. On [https://wiki.nixos.org/wiki/Hyprland Hyprland] it's fairly easy:<syntaxhighlight lang="nix">
It depends on the window manager that you are using. On [https://wiki.nixos.org/wiki/Hyprland Hyprland] it's fairly easy:<syntaxhighlight lang="nix">
bind = [
bind = [