mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
qt: support GTK+ theming for Qt services
This commit is contained in:
parent
965bad626a
commit
faf04b009b
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ in
|
|||
config = mkIf (cfg.enable && cfg.useGtkTheme) {
|
||||
home.sessionVariables.QT_QPA_PLATFORMTHEME = "gtk2";
|
||||
home.packages = [ pkgs.libsForQt5.qtstyleplugins ];
|
||||
xsession.profileExtra =
|
||||
"systemctl --user import-environment QT_QPA_PLATFORMTHEME";
|
||||
|
||||
home.activation.useGtkThemeInQt4 = dag.entryAfter ["writeBoundary"] ''
|
||||
$DRY_RUN_CMD ${pkgs.crudini}/bin/crudini $VERBOSE_ARG \
|
||||
|
|
Loading…
Reference in a new issue