mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-23 15:13:12 +01:00
2489bf5e4c
With the current config I get something like: ``` [Settings] Settings=gtk-application-prefer-dark-theme=1 ``` This change should fix it and produce: ``` [Settings] gtk-application-prefer-dark-theme=1 ``` in ~/.config/gtk-4.0/settings.ini
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{ pkgs, config, gtkThemeFromScheme, ... }:
|
|
|
|
{
|
|
# Configure Cursor Theme
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Ice";
|
|
size = 24;
|
|
};
|
|
|
|
# Theme GTK
|
|
gtk = {
|
|
enable = true;
|
|
font = {
|
|
name = "Ubuntu";
|
|
size = 12;
|
|
package = pkgs.ubuntu_font_family;
|
|
};
|
|
theme = {
|
|
name = "${config.colorScheme.slug}";
|
|
package = gtkThemeFromScheme {scheme = config.colorScheme;};
|
|
};
|
|
iconTheme = {
|
|
name = "Papirus-Dark";
|
|
package = pkgs.papirus-icon-theme;
|
|
};
|
|
cursorTheme = {
|
|
name = "Bibata-Modern-Ice";
|
|
package = pkgs.bibata-cursors;
|
|
};
|
|
gtk3.extraConfig = {
|
|
gtk-application-prefer-dark-theme=1;
|
|
};
|
|
gtk4.extraConfig = {
|
|
gtk-application-prefer-dark-theme=1;
|
|
};
|
|
};
|
|
|
|
# Theme QT -> GTK
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "gtk";
|
|
style = {
|
|
name = "adwaita-dark";
|
|
package = pkgs.adwaita-qt;
|
|
};
|
|
};
|
|
}
|