From e400d6dae890c2d6bddfc2b092e45d290fde47f3 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 25 Jun 2023 21:36:28 -0700 Subject: [PATCH] Impurity-link qt5ct.conf --- modules/theme/default.nix | 22 ++++++---------------- modules/theme/qt5ct.conf | 7 +++++++ 2 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 modules/theme/qt5ct.conf diff --git a/modules/theme/default.nix b/modules/theme/default.nix index 29978d5..afe6c4d 100644 --- a/modules/theme/default.nix +++ b/modules/theme/default.nix @@ -1,4 +1,4 @@ -{ self, config, pkgs, ... }: { +{ self, config, pkgs, impurity, ... }: { environment.systemPackages = with pkgs; [ qt5ct breeze-qt5 @@ -11,26 +11,16 @@ }; home-manager.users.${config.main-user} = { - home = { - file.".icons/default/index.theme".text = '' - [Icon Theme] - Inherits=breeze_cursors - ''; - }; + home.file.".icons/default/index.theme".text = '' + [Icon Theme] + Inherits=breeze_cursors + ''; xdg.configFile = { # fixes dolphin background colors "kdeglobals".source = "${pkgs.breeze-qt5}/share/color-schemes/BreezeDark.colors"; - "qt5ct/qt5ct.conf".text = '' - [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 - ''; + "qt5ct/qt5ct.conf".source = impurity.link ./qt5ct.conf; }; gtk = { diff --git a/modules/theme/qt5ct.conf b/modules/theme/qt5ct.conf new file mode 100644 index 0000000..198d458 --- /dev/null +++ b/modules/theme/qt5ct.conf @@ -0,0 +1,7 @@ +[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