Set Papirus variant based on theme variant
This commit is contained in:
parent
d39c34d6f0
commit
fd8f675cdb
|
@ -143,7 +143,7 @@
|
|||
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
iconTheme = {
|
||||
package = (pkgs.papirus-icon-theme.override { color = "magenta"; });
|
||||
name = "Papirus-Light";
|
||||
name = if config.lib.stylix.scheme.variant == "light" then "Papirus-Light" else "Papirus-Dark";
|
||||
};
|
||||
};
|
||||
stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''
|
||||
|
|
Loading…
Reference in a new issue