forked from mirrors_public/oddlama_nix-config
feat: use kvantum for qt with KvLibadwaitaDark theme
This commit is contained in:
parent
544a3bb056
commit
905c6ccdc1
3 changed files with 7387 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue