Skip to content

Commit 6626424

Browse files
committed
[THEME] missed the saturation of Kanagawa
1 parent cf2da5d commit 6626424

File tree

8 files changed

+33
-43
lines changed

8 files changed

+33
-43
lines changed

.github/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949

5050
## XMonad
5151

52-
![XMonad](./assets/themes/catppuccin/xmonad.png)
52+
![XMonad](./assets/themes/kanagawa/xmonad.png)
5353

5454
## Emacs
5555

56-
![Emacs](./assets/themes/catppuccin/emacs.png)
56+
![Emacs](./assets/themes/kanagawa/emacs.png)
5757

5858
## Neovim
5959

60-
![Neovim](./assets/themes/catppuccin/neovim.png)
60+
![Neovim](./assets/themes/kanagawa/neovim.png)
6161

6262
# Introduction
6363

@@ -147,9 +147,9 @@ Modify `snowflake.dir` to point to the location where you are keeping the
147147
snowflake repository:
148148
https://github.com/Icy-Thought/snowflake/blob/f576ca018a7dd97e0f9d887835e2559e1e5cc02c/modules/options.nix#L26-L29
149149

150-
## 2. Remove Redundant CPU Setting
150+
## 2. Remove Redundant CPU Setting
151151

152-
For the sake of making things quicker (not the wisest choice), I have added both Intel and AMD CPU settings in the `hardware.nix` template. Therefore you ought to remove the one not being used.
152+
For the sake of making things quicker (not the wisest choice), I have added both Intel and AMD CPU settings in the `hardware.nix` template. Therefore you ought to remove the one not being used.
153153

154154
There might be other configurations that you need to add to your `hardware.nix` file, therefore it is the wisest choice to always look (grep `hardware.`) in the [NixOS Manual](https://nixos.org/manual/nixos/unstable/).
155155

flake.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hosts/thinkpad-e595/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
scientific.typst.enable = true;
2222
};
2323

24-
themes.active = "catppuccin";
24+
themes.active = "kanagawa";
2525
desktop = {
2626
xmonad.enable = true;
2727
terminal = {

modules/themes/kanagawa/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ in {
1111
config = mkIf (cfg.active == "kanagawa") (mkMerge [
1212
{
1313
modules.themes = {
14-
wallpaper = mkDefault ./assets/morganprost-spacestation01.jpg;
14+
wallpaper = mkDefault ./assets/ismail-inceoglu-chaos-invoked.jpg;
1515
gtk = {
1616
name = "Kanagawa-BL";
17-
package = pkgs.my.kanagawa-gtk.override { themeVariants = [ "BL" ]; };
17+
package = pkgs.my.kanagawa-gtk;
1818
};
1919
iconTheme = {
2020
name = "Kanagawa";
21-
package = pkgs.my.kanagawa-gtk.override { themeVariants = [ "BL" ]; };
21+
package = pkgs.my.kanagawa-gtk;
2222
};
2323
pointer = {
2424
name = "Bibata-Modern-Classic";

packages/catppuccin-gtk/default.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, jdupes, sassc
1+
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, sassc
22
, accent ? [ "default" ], shade ? "dark", size ? "standard", tweaks ? [ ], }:
33

44
let
@@ -24,6 +24,7 @@ in lib.checkListOfEnum "${pname} Valid theme accent(s)" validAccents accent
2424
lib.checkListOfEnum "${pname} Valid shades" validShades (single shade)
2525
lib.checkListOfEnum "${pname} Valid sizes" validSizes (single size)
2626
lib.checkListOfEnum "${pname} Valid tweaks" validTweaks tweaks
27+
2728
stdenv.mkDerivation {
2829
pname = "${pname}";
2930
version = "0-unstable-2024-06-27";
@@ -35,7 +36,7 @@ stdenv.mkDerivation {
3536
hash = "sha256-oFVsYrJ27hYGY+x9+Z4SxVCp3w6PiLYTZaxmGhnpVHQ=";
3637
};
3738

38-
nativeBuildInputs = [ jdupes sassc ];
39+
nativeBuildInputs = [ sassc ];
3940

4041
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
4142

@@ -60,8 +61,6 @@ stdenv.mkDerivation {
6061
${toString (map (x: "--tweaks " + x) tweaks)} \
6162
--dest $out/share/themes
6263
63-
jdupes --quiet --link-soft --recurse $out/share
64-
6564
runHook postInstall
6665
'';
6766

packages/kanagawa-gtk/default.nix

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, jdupes, themeVariants ? [ ],
2-
}:
1+
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, themeVariants ? [ "BL" ], }:
32

43
let
54
inherit (builtins) toString;
65
inherit (lib.trivial) checkListOfEnum;
76
in checkListOfEnum "$Kanagawa: GTK Theme Variants" [ "B" "B-LB" "BL" "BL-LB" ]
8-
themeVariants stdenv.mkDerivation {
7+
themeVariants
8+
9+
stdenv.mkDerivation {
910
pname = "kanagawa-gtk";
1011
version = "unstable-2023-07-04";
1112

@@ -16,8 +17,6 @@ themeVariants stdenv.mkDerivation {
1617
hash = "sha256-BZRmjVas8q6zsYbXFk4bCk5Ec/3liy9PQ8fqFGHAXe0";
1718
};
1819

19-
nativeBuildInputs = [ jdupes ];
20-
2120
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2221

2322
installPhase = let gtkTheme = "Kanagawa-${toString themeVariants}";
@@ -29,9 +28,6 @@ themeVariants stdenv.mkDerivation {
2928
cp -r $src/themes/${gtkTheme} $out/share/themes
3029
cp -r $src/icons/Kanagawa $out/share/icons
3130
32-
# Duplicate files -> hard-links = reduced install-size!
33-
jdupes -L -r $out/share
34-
3531
runHook postInstall
3632
'';
3733

packages/rose-pine-gtk/default.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, jdupes, themeVariant ? [ ]
1+
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, themeVariant ? [ ]
22
, iconVariant ? [ ], }:
33

44
let
@@ -10,7 +10,9 @@ in checkListOfEnum "$Rose-Pine: GTK Theme Variants" [
1010
"Main-BL-LB"
1111
"Main-BL"
1212
] themeVariant checkListOfEnum "$RosePine: GTK Theme Variants" [ "" "Moon" ]
13-
iconVariant stdenv.mkDerivation {
13+
iconVariant
14+
15+
stdenv.mkDerivation {
1416
pname = "rose-pine-gtk";
1517
version = "unstable-2023-02-20";
1618

@@ -21,8 +23,6 @@ iconVariant stdenv.mkDerivation {
2123
hash = "";
2224
};
2325

24-
nativeBuildInputs = [ jdupes ];
25-
2626
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2727

2828
installPhase = let
@@ -36,9 +36,6 @@ iconVariant stdenv.mkDerivation {
3636
cp -r $src/themes/${gtkTheme} $out/share/themes
3737
cp -r $src/icons/${iconTheme} $out/share/icons
3838
39-
# Duplicate files -> hard-links = reduced install-size!
40-
jdupes -L -r $out/share
41-
4239
runHook postInstall
4340
'';
4441

packages/tokyonight-gtk/default.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, jdupes, sassc
1+
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine, sassc
22
, accent ? [ "default" ], shade ? "dark", size ? "standard", }:
33

44
let
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
2424
hash = "sha256-oKqLb66N4swHfhjUZJIGryE0D9MkuLdKFQa6j3TFmOg=";
2525
};
2626

27-
nativeBuildInputs = [ jdupes sassc ];
27+
nativeBuildInputs = [ sassc ];
2828

2929
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
3030

@@ -48,8 +48,6 @@ stdenv.mkDerivation {
4848
${lib.optionalString (size != null) ("--size " + size)} \
4949
--dest $out/share/themes
5050
51-
jdupes --quiet --link-soft --recurse $out/share
52-
5351
runHook postInstall
5452
'';
5553

0 commit comments

Comments
 (0)