modules/theme: enable gtk and x11 pointer

This commit is contained in:
Anthony Rodriguez 2024-12-01 22:44:52 +01:00
parent b06627bbb8
commit f224c6d2b2
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -65,23 +65,8 @@ in {
home-manager.users.nezia = {
home.pointerCursor = {
inherit (config.theme.cursorTheme) name package size;
};
gtk = {
iconTheme = {
inherit (config.theme.gtk.iconTheme) name package;
};
theme = lib.mkIf (!config.services.xserver.desktopManager.gnome.enable) {
inherit (config.theme.gtk.theme) name package;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme =
if scheme.variant == "dark"
then "1"
else "0";
};
gtk.enable = true;
x11.enable = true;
};
services.swaync.style =