diff --git a/flake.lock b/flake.lock index 4a2d605..6e26208 100644 --- a/flake.lock +++ b/flake.lock @@ -730,11 +730,11 @@ "zdwm": { "flake": false, "locked": { - "lastModified": 1732389015, - "narHash": "sha256-VUaKHqgVx7WYREJCP4qJvwZZgtEWF+yXnAw/s1aUFoU=", + "lastModified": 1732406517, + "narHash": "sha256-iy+JuwhxpaYv9cMQgPhTy0UfSIJiev3oEjXGeyVN8Qg=", "ref": "refs/heads/master", - "rev": "1e4fffe032f085fb6e5967cc47c9d4969a1baed3", - "revCount": 1730, + "rev": "0f068ea6f1d9056c73ce49a0a8d92b7c784b4d98", + "revCount": 1731, "type": "git", "url": "https://git.zynh.me/Zynh0722/dwm" }, diff --git a/home/kitty/alacritty-colors.conf b/home/kitty/alacritty-colors.conf new file mode 100644 index 0000000..d8f0b28 --- /dev/null +++ b/home/kitty/alacritty-colors.conf @@ -0,0 +1,53 @@ + +## name: Rosé Pine +## author: mvllow +## license: MIT +## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine.conf +## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist + +foreground #d8d8d8 +background #050505 +selection_foreground #e0def4 +selection_background #403d52 + +cursor #524f67 +cursor_text_color #e0def4 + +url_color #c4a7e7 + +active_tab_foreground #e0def4 +active_tab_background #26233a +inactive_tab_foreground #6e6a86 +inactive_tab_background #191724 + +# black +color0 #181818 +color8 #6b6b6b + +# red +color1 #ac4242 +color9 #c55555 + +# green +color2 #90a959 +color10 #aac474 + +# yellow +color3 #f4bf75 +color11 #fcea88 + +# blue +color4 #6a9fb5 +color12 #82b8c8 + +# magenta +color5 #aa759f +color13 #c28cb8 + +# cyan +color6 #75b5aa +color14 #93d3c3 + +# white +color7 #d8d8d8 +color15 #f8f8f8 diff --git a/home/kitty/rose-pine.conf b/home/kitty/rose-pine.conf new file mode 100644 index 0000000..21e74a5 --- /dev/null +++ b/home/kitty/rose-pine.conf @@ -0,0 +1,54 @@ +## name: Rosé Pine +## author: mvllow +## license: MIT +## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine.conf +## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist + +foreground #e0def4 +background #191724 +selection_foreground #e0def4 +selection_background #403d52 + +cursor #524f67 +cursor_text_color #e0def4 + +url_color #c4a7e7 + +active_tab_foreground #e0def4 +active_tab_background #26233a +inactive_tab_foreground #6e6a86 +inactive_tab_background #191724 + +# black +color0 #26233a +color8 #6e6a86 + +# red +color1 #eb6f92 +color9 #eb6f92 + +# green +color2 #31748f +color10 #31748f + +# yellow +color3 #f6c177 +color11 #f6c177 + +# blue +color4 #9ccfd8 +color12 #9ccfd8 + +# magenta +color5 #c4a7e7 +color13 #c4a7e7 + +# cyan +color6 #ebbcba +color14 #ebbcba + +# white +color7 #e0def4 +color15 #e0def4 + + diff --git a/home/modules/kitty.nix b/home/modules/kitty.nix new file mode 100644 index 0000000..16fbc29 --- /dev/null +++ b/home/modules/kitty.nix @@ -0,0 +1,30 @@ +{ lib, config, ... }: + +let + cfg = config.snowhawk.kitty; + macos = config.snowhawk.macos.enable; +in +{ + options.snowhawk.kitty = { + enable = lib.mkEnableOption "kitty home-manager module"; + }; + + config = lib.mkIf cfg.enable { + programs.kitty = { + enable = true; + shellIntegration.enableFishIntegration = true; + + settings = { + font_family = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight\""; + bold_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light\""; + italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight Italic\""; + bold_italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light Italic\""; + background = "#050505"; + background_opacity = 0.98; + font_size = 12; + }; + + extraConfig = "include ${../../home/kitty/alacritty-colors.conf}"; + }; + }; +} diff --git a/hosts/snowhawk/home.nix b/hosts/snowhawk/home.nix index ea55a77..c5be67d 100644 --- a/hosts/snowhawk/home.nix +++ b/hosts/snowhawk/home.nix @@ -13,7 +13,7 @@ redshift.enable = true; flameshot.enable = true; playerctl.enable = true; - alacritty.enable = true; + kitty.enable = true; defaultPrograms.enable = true; pipewire-controller.enable = true;