mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-22 05:12:56 -05:00
theme: migrate to stylix iconTheme setting
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
c708c02180
commit
d8799acec0
|
@ -12,22 +12,21 @@ in {
|
||||||
pkgs.liberation_ttf
|
pkgs.liberation_ttf
|
||||||
];
|
];
|
||||||
|
|
||||||
gtk.iconTheme = {
|
|
||||||
name =
|
|
||||||
if config.stylix.polarity == "dark"
|
|
||||||
then "Papirus-Dark"
|
|
||||||
else "Papirus";
|
|
||||||
|
|
||||||
package = pkgs.papirus-icon-theme.override {color = "adwaita";};
|
|
||||||
};
|
|
||||||
|
|
||||||
qt = lib.mkIf (!config.ar.home.desktop.kde.enable) {
|
qt = lib.mkIf (!config.ar.home.desktop.kde.enable) {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "kde";
|
platformTheme.name = "kde";
|
||||||
style.name = "Breeze";
|
style.name = "Breeze";
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix.targets.gtk.extraCss = builtins.concatStringsSep "\n" [
|
stylix = {
|
||||||
|
iconTheme = {
|
||||||
|
enable = true;
|
||||||
|
dark = "Papirus-Dark";
|
||||||
|
light = "Papirus";
|
||||||
|
package = pkgs.papirus-icon-theme.override {color = "adwaita";};
|
||||||
|
};
|
||||||
|
|
||||||
|
targets.gtk.extraCss = builtins.concatStringsSep "\n" [
|
||||||
(lib.optionalString ((cfg.desktop.hyprland.enable || cfg.desktop.sway.enable) && !cfg.desktop.gnome.enable) ''
|
(lib.optionalString ((cfg.desktop.hyprland.enable || cfg.desktop.sway.enable) && !cfg.desktop.gnome.enable) ''
|
||||||
window.background { border-radius: ${toString cfg.theme.borders.radius}; }
|
window.background { border-radius: ${toString cfg.theme.borders.radius}; }
|
||||||
'')
|
'')
|
||||||
|
@ -68,4 +67,5 @@ in {
|
||||||
}'')
|
}'')
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue