Skip to content

Commit

Permalink
hyprland: remove with statement
Browse files Browse the repository at this point in the history
Link: #501
  • Loading branch information
trueNAHO committed Oct 8, 2024
1 parent d0c43fd commit 40bc8db
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions modules/hyprland/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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."col.shadow" = rgba base00 "99";
in {
decoration."col.shadow" = 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;
};
}

Expand Down

0 comments on commit 40bc8db

Please sign in to comment.