waybar restyle, new themes

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-08 12:30:00 +03:00
parent 1a4f54d7bc
commit 07838aa669
5 changed files with 90 additions and 30 deletions

View File

@ -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 = {