zaneyos/config/home/gtk-qt.nix

47 lines
927 B
Nix
Raw Normal View History

2024-01-18 08:37:01 +01:00
{ pkgs, config, gtkThemeFromScheme, ... }:
2024-01-18 08:36:06 +01:00
{
# 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;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme=1;
2024-01-18 08:36:06 +01:00
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme=1;
2024-01-18 08:36:06 +01:00
};
};
# Theme QT -> GTK
qt = {
enable = true;
platformTheme = "gtk";
style = {
name = "adwaita-dark";
package = pkgs.adwaita-qt;
};
};
}