no kitty lol, dev is annoying

This commit is contained in:
CherryKitten 2024-03-24 19:03:07 +01:00
parent ebce36cabb
commit 882c803656
Signed by: sammy
GPG key ID: 98D8F75FB0658276
3 changed files with 45 additions and 44 deletions

View file

@ -5,6 +5,6 @@
./tmux.nix ./tmux.nix
./starship.nix ./starship.nix
./git.nix ./git.nix
./kitty.nix ./foot.nix
]; ];
} }

44
modules/home/foot.nix Normal file
View file

@ -0,0 +1,44 @@
{ config, lib, ... }:
let
graphical =
if builtins.hasAttr "cherrykitten" config
then config.cherrykitten.graphical
else true;
in
{
programs.foot = lib.mkIf graphical {
enable = true;
settings = {
main = {
font = "monospace:size=8";
dpi-aware = "yes";
initial-window-size-pixels = "1920x1080";
};
bell.visual = "yes";
# colors taken from https://codeberg.org/dnkl/foot/src/branch/master/themes/catppuccin
cursor.color = "1A1826 D9E0EE";
colors = {
foreground = "D9E0EE";
background = "1E1D2F";
regular0 = "6E6C7E";
regular1 = "F28FAD";
regular2 = "ABE9B3";
regular3 = "FAE3B0";
regular4 = "96CDFB";
regular5 = "F5C2E7";
regular6 = "89DCEB";
regular7 = "D9E0EE";
bright0 = "988BA2";
bright1 = "F28FAD";
bright2 = "ABE9B3";
bright3 = "FAE3B0";
bright4 = "96CDFB";
bright5 = "F5C2E7";
bright6 = "89DCEB";
bright7 = "D9E0EE";
};
};
};
}

View file

@ -1,43 +0,0 @@
{ config, lib, ... }:
let
graphical = if builtins.hasAttr "cherrykitten" config
then config.cherrykitten.graphical
else true;
in
{
programs.kitty = lib.mkIf graphical {
enable = true;
theme = "Catppuccin-Mocha";
settings = {
enable_audio_bell = false;
background_opacity = 1;
copy_on_select = "clipboard";
hide_window_decorations = true;
# symbol maps
# Seti-UI + Custom
"symbol_map U+E5FA-U+E62B" = "Symbols Nerd Font";
# Devicons
"symbol_map U+E700-U+E7C5" = "Symbols Nerd Font";
# Font Awesome
"symbol_map U+F000-U+F2E0" = "Symbols Nerd Font";
# Font Awesome Extension
"symbol_map U+E200-U+E2A9" = "Symbols Nerd Font";
# Material Design Icons
"symbol_map U+F500-U+FD46" = "Symbols Nerd Font";
# Weather
"symbol_map U+E300-U+E3EB" = "Symbols Nerd Font";
# Octicons
"symbol_map U+F400-U+F4A8,U+2665,U+26A1,U+F27C" = "Symbols Nerd Font";
# Powerline Extra Symbols
"symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CC-U+E0D2,U+E0D4" = "Symbols Nerd Font";
# IEC Power Symbols
"symbol_map U+23FB-U+23FE,U+2b58" = "Symbols Nerd Font";
# Font Logos
"symbol_map U+F300-U+F313" = "Symbols Nerd Font";
# Pomicons
"symbol_map U+E000-U+E00D" = "Symbols Nerd Font";
};
};
}