1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: use kvantum for qt with KvLibadwaitaDark theme

This commit is contained in:
oddlama 2023-10-05 01:30:43 +02:00
parent 544a3bb056
commit 905c6ccdc1
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 7387 additions and 8 deletions

View file

@ -1,6 +1,5 @@
{
config,
lib,
nixosConfig,
pkgs,
...
@ -41,12 +40,6 @@
package = pkgs.whitesur-icon-theme;
};
# TODO test other themes
theme = lib.mkForce {
name = "WhiteSur-Dark-solid";
package = pkgs.whitesur-gtk-theme;
};
gtk2.extraConfig = "gtk-application-prefer-dark-theme = true";
gtk3.extraConfig = gtk34extraConfig;
gtk4.extraConfig = gtk34extraConfig;
@ -56,9 +49,13 @@
qt = {
enable = true;
platformTheme = "gtk";
style.name = "kvantum";
platformTheme = "qtct";
};
xdg.configFile."Kvantum/kvantum.kvconfig".text = "theme=Base16Kvantum";
xdg.configFile."Kvantum/Base16Kvantum".source = ./Base16Kvantum;
stylix = {
inherit (nixosConfig.stylix) polarity base16Scheme;
targets.gtk.enable = true;