kitty: module init

This commit is contained in:
Zynh Ludwig 2024-11-23 16:04:14 -08:00
parent b5e8c0774e
commit 0b3bb3e92b
5 changed files with 142 additions and 5 deletions

View file

@ -730,11 +730,11 @@
"zdwm": { "zdwm": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1732389015, "lastModified": 1732406517,
"narHash": "sha256-VUaKHqgVx7WYREJCP4qJvwZZgtEWF+yXnAw/s1aUFoU=", "narHash": "sha256-iy+JuwhxpaYv9cMQgPhTy0UfSIJiev3oEjXGeyVN8Qg=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "1e4fffe032f085fb6e5967cc47c9d4969a1baed3", "rev": "0f068ea6f1d9056c73ce49a0a8d92b7c784b4d98",
"revCount": 1730, "revCount": 1731,
"type": "git", "type": "git",
"url": "https://git.zynh.me/Zynh0722/dwm" "url": "https://git.zynh.me/Zynh0722/dwm"
}, },

View file

@ -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

54
home/kitty/rose-pine.conf Normal file
View file

@ -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

30
home/modules/kitty.nix Normal file
View file

@ -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}";
};
};
}

View file

@ -13,7 +13,7 @@
redshift.enable = true; redshift.enable = true;
flameshot.enable = true; flameshot.enable = true;
playerctl.enable = true; playerctl.enable = true;
alacritty.enable = true; kitty.enable = true;
defaultPrograms.enable = true; defaultPrograms.enable = true;
pipewire-controller.enable = true; pipewire-controller.enable = true;