waybar restyle, new themes
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -34,19 +34,27 @@ in {
|
||||
};
|
||||
"org/gnome/desktop/interface" = {
|
||||
icon-theme = config.gtk.iconTheme.name;
|
||||
color-scheme =
|
||||
if config.stylix.polarity == "dark"
|
||||
then lib.mkDefault "prefer-dark"
|
||||
else lib.mkDefault "prefer-light";
|
||||
};
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
iconTheme = let
|
||||
papirusPackage =
|
||||
if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
|
||||
then pkgs.papirus-icon-theme.override {color = "indigo";}
|
||||
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
|
||||
then pkgs.papirus-icon-theme.override {color = "nordic";}
|
||||
else pkgs.papirus-icon-theme;
|
||||
in {
|
||||
name =
|
||||
if config.stylix.polarity == "dark"
|
||||
then "Papirus-Dark"
|
||||
else "Papirus-Light";
|
||||
package =
|
||||
if (removeSuffix "-light" theme) == "nord"
|
||||
then pkgs.papirus-nord
|
||||
else pkgs.papirus-icon-theme;
|
||||
package = papirusPackage;
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
|
Reference in New Issue
Block a user