From 272f4466ad8317f20bd95a8e0fd341884727bf78 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 30 Nov 2023 14:44:14 -0300 Subject: [PATCH] fix: qt theming fixes --- home-manager.nix | 21 ++++++++++++++++++++- nixos.nix | 2 -- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index 535dd3c..8154a00 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -111,7 +111,6 @@ winetricks ## Libraries - (nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) rnnoise-plugin ## Development @@ -133,6 +132,11 @@ imagemagick nnn poppler + + ## Theming + (nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) + qt6Packages.qtstyleplugin-kvantum + libsForQt5.qtstyleplugin-kvantum ]; # @@ -158,10 +162,25 @@ source = ./programs/nvim; }; + ".config/Kvantum/Catppuccin-Frappe-Lavender" = { + source = "${pkgs.catppuccin-kvantum.override { accent = "Lavender"; variant = "Frappe"; } }/share/Kvantum/Catppuccin-Frappe-Lavender"; + }; + + ".config/Kvantum/kvantum.kvconfig" = { + text = '' + [General] + theme=Catppuccin-Frappe-Lavender + ''; + }; + ".config/qt5ct/colors" = { source = ./theming/qt5ct; }; + ".config/qt6ct/colors" = { + source = ./theming/qt5ct; # We use the qt5ct because it's the SAME spec + }; + ".config/pipewire/pipewire.conf.d/99-input-denoising.conf" = { text = '' context.modules = [ diff --git a/nixos.nix b/nixos.nix index 05c2a30..3dc9214 100644 --- a/nixos.nix +++ b/nixos.nix @@ -303,8 +303,6 @@ ## Libraries libsForQt5.qt5.qtgraphicaleffects libsForQt5.qt5.qtquickcontrols2 - qt5.qtwayland - qt6.qtwayland ## Desktop environment polkit-kde-agent