Use dark themes.

This commit is contained in:
Tom Alexander 2024-12-23 10:56:57 -05:00
parent e09eea2049
commit 9c0f3ce601
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 9 additions and 0 deletions

View File

@ -298,11 +298,13 @@ in
'' ''
export WLR_RENDERER_ALLOW_SOFTWARE=1 export WLR_RENDERER_ALLOW_SOFTWARE=1
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
export QT_QPA_PLATFORMTHEME=gtk3 # Use gtk theme in Qt applications
'' ''
else else
'' ''
export WLR_RENDERER=vulkan export WLR_RENDERER=vulkan
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
export QT_QPA_PLATFORMTHEME=gtk3 # Use gtk theme in Qt applications
''; '';
programs.sway = { programs.sway = {
@ -366,5 +368,10 @@ in
source = ./files/mimeapps.list; source = ./files/mimeapps.list;
}; };
}; };
home.file = {
".config/gtk-3.0/settings.ini" = {
source = ./files/settings.ini;
};
};
}; };
} }

View File

@ -0,0 +1,2 @@
[Settings]
gtk-application-prefer-dark-theme=1