From 033b0dcb7f4b26435f0924eb5acda8fe7d323ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 11 Feb 2024 10:46:53 -0300 Subject: [PATCH] whitesur-gtk-theme: add nordColor and darkerColor options Also change description --- pkgs/data/themes/whitesur/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/data/themes/whitesur/default.nix b/pkgs/data/themes/whitesur/default.nix index 032c7320fbd0..11d7448047a4 100644 --- a/pkgs/data/themes/whitesur/default.nix +++ b/pkgs/data/themes/whitesur/default.nix @@ -19,6 +19,8 @@ , panelOpacity ? null # default: 15% , panelSize ? null # default: 32px , roundedMaxWindow ? false # default: false +, nordColor ? false # default = false +, darkerColor ? false # default = false }: let @@ -90,6 +92,8 @@ stdenv.mkDerivation rec { ${lib.optionalString (panelOpacity != null) ("--panel-opacity " + panelOpacity)} \ ${lib.optionalString (panelSize != null) ("--panel-size " + panelSize)} \ ${lib.optionalString (roundedMaxWindow == true) "--roundedmaxwindow"} \ + ${lib.optionalString (nordColor == true) "--nordcolor"} \ + ${lib.optionalString (darkerColor == true) "--darkercolor"} \ --dest $out/share/themes jdupes --quiet --link-soft --recurse $out/share @@ -100,7 +104,7 @@ stdenv.mkDerivation rec { passthru.updateScript = gitUpdater { }; meta = with lib; { - description = "MacOS Big Sur like theme for Gnome desktops"; + description = "MacOS BigSur like Gtk+ theme based on Elegant Design"; homepage = "https://github.com/vinceliuice/WhiteSur-gtk-theme"; license = licenses.mit; platforms = platforms.unix;