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:
parent
d016e5f21e
commit
bec17eb0f3
1 changed files with 2 additions and 5 deletions
|
|
@ -9,10 +9,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# The configuration files that Plasma made have set the theme in gtkrc, not gtkrc-2.0
|
gtk2settings = ''
|
||||||
# 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 = ''
|
|
||||||
include "/run/current-system/sw/share/themes/${themeName}-Dark/gtk-2.0/gtkrc"
|
include "/run/current-system/sw/share/themes/${themeName}-Dark/gtk-2.0/gtkrc"
|
||||||
gtk-theme-name="${themeName}-Dark"
|
gtk-theme-name="${themeName}-Dark"
|
||||||
'';
|
'';
|
||||||
|
|
@ -58,6 +55,6 @@ in
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"xdg/gtk-4.0/settings.ini".text = gtk3and4settings;
|
"xdg/gtk-4.0/settings.ini".text = gtk3and4settings;
|
||||||
"xdg/gtk-3.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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue