Fix foot and swaync color + opacity settings

This commit is contained in:
Evie Litherland-Smith 2024-05-27 21:12:23 +01:00
parent dff251d0f9
commit 79b0a0d841
2 changed files with 5 additions and 4 deletions

View file

@ -21,7 +21,7 @@
cursor = {blink = true;};
mouse = {hide-when-typing = true;};
colors = with config.scheme; rec {
opacity = 0.9;
alpha = 0.9;
background = base00;
foreground = base05;
regular0 = base02;

View file

@ -7,7 +7,8 @@
}: {
home.packages = [pkgs.swaynotificationcenter];
xdg.configFile."swaync/style.css".text = with config.scheme.withHashtag; let
alpha-background = "${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8";
alpha = "0.8";
alpha-background = "rgba(${config.scheme.base00-rgb-r}, ${config.scheme.base00-rgb-g}, ${config.scheme.base00-rgb-b}, ${alpha})";
in ''
* {
all: unset;
@ -21,7 +22,7 @@
border-radius: 10px;
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
margin: 18px;
background-color: rgba(${alpha-background});
background-color: ${alpha-background};
color: ${base05};
padding: 0;
}
@ -144,7 +145,7 @@
border-radius: 10px;
border: 1px solid ${config.scheme.withHashtag.${accentColour}};
margin: 18px;
background-color: rgba(${alpha-background});
background-color: ${alpha-background};
color: ${base05};
padding: 14px;
}