fix qt app style

This commit is contained in:
Leonardo Eugênio 2022-08-12 21:28:12 -03:00
parent 40d26f0371
commit 921c1c79e0

View file

@ -264,6 +264,7 @@ in {
}; };
home.sessionVariables = { home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "gtk3";
VOLUME_CHANGE_SOUND = VOLUME_CHANGE_SOUND =
"${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga"; "${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga";
FZF_DEFAULT_OPTS = let FZF_DEFAULT_OPTS = let
@ -283,6 +284,9 @@ in {
"--preview '${pkgs.bat}/bin/bat --style=numbers --color=always {}'"; "--preview '${pkgs.bat}/bin/bat --style=numbers --color=always {}'";
in "${preview_opts} ${color_opts}"; in "${preview_opts} ${color_opts}";
}; };
programs.bash = {
enable = true;
};
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox; package = pkgs.firefox;
@ -353,12 +357,12 @@ in {
package = papirus_red; package = papirus_red;
}; };
}; };
qt = { # qt = {
enable = true; # enable = true;
platformTheme = "gtk"; # platformTheme = "gtk";
style.package = pkgs.libsForQt5.qtstyleplugins; # # style.package = pkgs.libsForQt5.qtstyleplugins;
style.name = "gtk2"; # # style.name = "gtk2";
}; # };
programs.mangohud = { programs.mangohud = {
enable = true; enable = true;