Merge pull request #288040 from romildo/upd.whitesur-gtk-theme

whitesur-gtk-theme: add nordColor and darkerColor options
This commit is contained in:
José Romildo Malaquias 2024-02-13 12:28:31 -03:00 committed by GitHub
commit 55ae7a91b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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