1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00

qt: support gtk3 platform theme

This theme is part of qtbase and requires no extra packages.

Co-authored-by: novenary <novenary@kwak.zip>
This commit is contained in:
Thiago Kenji Okada 2023-10-22 19:19:51 +01:00
parent 1e80a0b3d8
commit 1160454c79

View file

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