zaneyos/config/home/gtk-qt.nix

51 lines
1.0 KiB
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;
};
cursorTheme = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
};
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;
};
};
}