1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 19:59:47 +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 committed by Mikilio
parent 21e926695f
commit 96e4636bba
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

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)