Plasma: rename variable

Old variable was used to set both the gtkrc for gtk 1 and 2, but since it's used by only gtk 2 now I wanted the name to reflect that
This commit is contained in:
Toast 2023-07-04 16:54:22 +02:00
parent d016e5f21e
commit bec17eb0f3

View file

@ -9,10 +9,7 @@ let
};
};
# The configuration files that Plasma made have set the theme in gtkrc, not gtkrc-2.0
# which is weird cause applying the theme to gtk1 but not 2 is dumb. I'll write it to
# both files just in case :3
gtk1and2settings = ''
gtk2settings = ''
include "/run/current-system/sw/share/themes/${themeName}-Dark/gtk-2.0/gtkrc"
gtk-theme-name="${themeName}-Dark"
'';
@ -58,6 +55,6 @@ in
environment.etc = {
"xdg/gtk-4.0/settings.ini".text = gtk3and4settings;
"xdg/gtk-3.0/settings.ini".text = gtk3and4settings;
"gtk-2.0/gtkrc".text = gtk1and2settings;
"gtk-2.0/gtkrc".text = gtk2settings;
};
}