From 96e4636bba63d881c1724c278c22b57cb969205b Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 22 Oct 2023 19:19:51 +0100 Subject: [PATCH] qt: support gtk3 platform theme This theme is part of qtbase and requires no extra packages. Co-authored-by: novenary --- modules/misc/qt.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/misc/qt.nix b/modules/misc/qt.nix index 199865796..495841ea4 100644 --- a/modules/misc/qt.nix +++ b/modules/misc/qt.nix @@ -57,7 +57,7 @@ in { platformTheme = lib.mkOption { type = with lib.types; - nullOr (enum [ "gtk" "gnome" "lxqt" "qtct" "kde" ]); + nullOr (enum [ "gtk" "gtk3" "gnome" "lxqt" "qtct" "kde" ]); default = null; example = "gnome"; relatedPackages = [ @@ -81,6 +81,10 @@ in { : Use GTK theme with [`qtstyleplugins`](https://github.com/qt/qtstyleplugins) + `gtk3` + : Use [GTK3 integration](https://github.com/qt/qtbase/tree/dev/src/plugins/platformthemes/gtk3) + for file picker dialogs, font and theme configuration + `gnome` : Use GNOME theme with [`qgnomeplatform`](https://github.com/FedoraQt/QGnomePlatform)