feat: patch kitty alabaster theme

This commit is contained in:
Jacob Bachmann 2024-08-28 15:22:18 +02:00
parent 2344c28810
commit 64e20bebf6
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
2 changed files with 50 additions and 2 deletions

View file

@ -1,12 +1,59 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
common = (import ../common.nix) { pkgs = pkgs; lib = lib; }; common = (import ../common.nix) { pkgs = pkgs; lib = lib; };
kitty-alabaster-theme-patch = builtins.toFile "kitty-theme-alabaster.patch" ''
diff --git a/themes/Alabaster.conf b/themes/Alabaster.conf
index 7989049..b0c180e 100644
--- a/themes/Alabaster.conf
+++ b/themes/Alabaster.conf
@@ -6,17 +6,17 @@
#: The basic colors
-foreground #000000
-background #f7f7f7
+foreground #434343
+background #ffffff
-selection_foreground #000000
+selection_foreground #434343
selection_background #bfdbfe
#: Cursor colors
-cursor #007acc
-cursor_text_color #bfdbfe
+cursor #434343
+cursor_text_color #ffffff
#: URL underline color when hovering with mouse
@@ -55,8 +55,8 @@ color6 #0083b2
color14 #00aacb
#: white
-color7 #f7f7f7
-color15 #f7f7f7
+color7 #bbbbbb
+color15 #ffffff
#: kitty window border colors and terminal bell colors
'';
kitty-theme-patched = pkgs.kitty-themes.overrideAttrs (final: previous: {
patches = [
kitty-alabaster-theme-patch
];
});
in in
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font.name = common.font; font.name = common.font;
font.size = 12; font.size = 12;
theme = "Tango Light"; extraConfig = ''
include ${kitty-theme-patched}/share/kitty-themes/themes/Alabaster.conf
'';
}; };
} }

View file

@ -1,8 +1,9 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
mediainfo
exiftool exiftool
mediainfo
ueberzugpp
]; ];
programs.yazi = { programs.yazi = {