From e85ce2c9cb2a67ec26f110df7acfea91cac7781b Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 26 Jun 2023 00:01:43 -0700 Subject: [PATCH] Fix qt5ct --- modules/theme/default.nix | 13 +++++++++++-- modules/theme/qt5ct.conf | 7 ------- 2 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 modules/theme/qt5ct.conf diff --git a/modules/theme/default.nix b/modules/theme/default.nix index afe6c4d..817b53b 100644 --- a/modules/theme/default.nix +++ b/modules/theme/default.nix @@ -1,4 +1,4 @@ -{ self, config, pkgs, impurity, ... }: { +{ self, config, pkgs, ... }: { environment.systemPackages = with pkgs; [ qt5ct breeze-qt5 @@ -20,7 +20,16 @@ # fixes dolphin background colors "kdeglobals".source = "${pkgs.breeze-qt5}/share/color-schemes/BreezeDark.colors"; - "qt5ct/qt5ct.conf".source = impurity.link ./qt5ct.conf; + "qt5ct/qt5ct.conf".text = '' + [Appearance] + style=Breeze + icon_theme=breeze-dark + + # Cantata misbehaves without color overrides. This overrides the breeze colors with the + # exact same colors. + color_scheme_path=${./breeze-dark-colors-override.conf} + custom_palette=true + ''; }; gtk = { diff --git a/modules/theme/qt5ct.conf b/modules/theme/qt5ct.conf deleted file mode 100644 index 198d458..0000000 --- a/modules/theme/qt5ct.conf +++ /dev/null @@ -1,7 +0,0 @@ -[Appearance] -style=Breeze - -# Cantata misbehaves without color overrides. This overrides the breeze colors with the -# exact same colors. -color_scheme_path=${./breeze-dark-colors-override.conf} -custom_palette=true \ No newline at end of file