1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +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 { platformTheme = lib.mkOption {
type = with lib.types; type = with lib.types;
nullOr (enum [ "gtk" "gnome" "lxqt" "qtct" "kde" ]); nullOr (enum [ "gtk" "gtk3" "gnome" "lxqt" "qtct" "kde" ]);
default = null; default = null;
example = "gnome"; example = "gnome";
relatedPackages = [ relatedPackages = [
@ -81,6 +81,10 @@ in {
: Use GTK theme with : Use GTK theme with
[`qtstyleplugins`](https://github.com/qt/qtstyleplugins) [`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` `gnome`
: Use GNOME theme with : Use GNOME theme with
[`qgnomeplatform`](https://github.com/FedoraQt/QGnomePlatform) [`qgnomeplatform`](https://github.com/FedoraQt/QGnomePlatform)