darken kde apps
This commit is contained in:
+9
-2
@@ -15,6 +15,10 @@
|
||||
# Qt5/Qt6 qt5ct/qt6ct, because nixpkgs builds qtbase without the qgtk3
|
||||
# platform theme (withGtk3 = false), so QT_QPA_PLATFORMTHEME=gtk3
|
||||
# would silently do nothing.
|
||||
# KDE apps KColorScheme reads colors from ~/.config/kdeglobals, not the Qt
|
||||
# palette, and falls back to light Breeze when it is missing --
|
||||
# which is why KDE apps came out half dark, half white. A
|
||||
# .colors file is already in kdeglobals format.
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
@@ -44,7 +48,7 @@
|
||||
|
||||
# Pulls adwaita-qt{,6} in without setting QT_STYLE_OVERRIDE -- that
|
||||
# variable makes qt5ct/qt6ct skip their own config entirely.
|
||||
style.package = [ pkgs.adwaita-qt pkgs.adwaita-qt6 ];
|
||||
style.package = [ pkgs.adwaita-qt pkgs.adwaita-qt6 pkgs.kdePackages.breeze ];
|
||||
|
||||
qt5ctSettings.Appearance = {
|
||||
style = "Adwaita-Dark";
|
||||
@@ -53,9 +57,12 @@
|
||||
};
|
||||
|
||||
qt6ctSettings.Appearance = {
|
||||
style = "Adwaita-Dark";
|
||||
style = "Breeze";
|
||||
icon_theme = "Adwaita";
|
||||
standard_dialogs = "xdgdesktopportal";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."kdeglobals".source =
|
||||
"${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user