From 882c80365650aaa26fb2ed121d841c1549e34ab9 Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sun, 24 Mar 2024 19:03:07 +0100 Subject: [PATCH] no kitty lol, dev is annoying --- modules/home/default.nix | 2 +- modules/home/foot.nix | 44 ++++++++++++++++++++++++++++++++++++++++ modules/home/kitty.nix | 43 --------------------------------------- 3 files changed, 45 insertions(+), 44 deletions(-) create mode 100644 modules/home/foot.nix delete mode 100644 modules/home/kitty.nix diff --git a/modules/home/default.nix b/modules/home/default.nix index b29741a..0a8da62 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -5,6 +5,6 @@ ./tmux.nix ./starship.nix ./git.nix - ./kitty.nix + ./foot.nix ]; } diff --git a/modules/home/foot.nix b/modules/home/foot.nix new file mode 100644 index 0000000..735d8f9 --- /dev/null +++ b/modules/home/foot.nix @@ -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"; + }; + }; + }; +} diff --git a/modules/home/kitty.nix b/modules/home/kitty.nix deleted file mode 100644 index c358727..0000000 --- a/modules/home/kitty.nix +++ /dev/null @@ -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"; - - }; - }; -}