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