hyprland: remove with statement

Link: https://github.com/danth/stylix/pull/501
This commit is contained in:
NAHO 2024-08-10 15:57:53 +02:00
parent 5282744c34
commit c6547e2b26
No known key found for this signature in database
GPG key ID: 229CB671D09B95F5

View file

@ -19,26 +19,28 @@
lib.mkMerge [
{
wayland.windowManager.hyprland.settings = let
inherit (config.lib.stylix) colors;
rgb = color: "rgb(${color})";
rgba = color: alpha: "rgba(${color}${alpha})";
in with config.lib.stylix.colors; {
decoration.shadow.color = rgba base00 "99";
in {
decoration.shadow.color = rgba colors.base00 "99";
general = {
"col.active_border" = rgb base0D;
"col.inactive_border" = rgb base03;
"col.active_border" = rgb colors.base0D;
"col.inactive_border" = rgb colors.base03;
};
group = {
"col.border_inactive" = rgb base03;
"col.border_active" = rgb base0D;
"col.border_locked_active" = rgb base0C;
"col.border_inactive" = rgb colors.base03;
"col.border_active" = rgb colors.base0D;
"col.border_locked_active" = rgb colors.base0C;
groupbar = {
text_color = rgb base05;
"col.active" = rgb base0D;
"col.inactive" = rgb base03;
text_color = rgb colors.base05;
"col.active" = rgb colors.base0D;
"col.inactive" = rgb colors.base03;
};
};
misc.background_color = rgb base00;
misc.background_color = rgb colors.base00;
};
}