Sway: Fix border changes.

This commit is contained in:
Dmitry Voronin 2024-11-17 23:35:48 +03:00
parent 79951acb4b
commit 524efdf533
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -4,16 +4,15 @@
}: let
accent = config.module.style.color.accent + alpha;
alpha = config.module.style.opacity.hex;
bg = config.module.style.color.bg.dark + alpha;
border = config.module.style.color.border + alpha;
fg = config.module.style.color.fg.light;
in {
text = ''
output * bg ${config.module.wallpaper.path} fill
client.focused "#${accent}" "#${accent}" "#${fg}" "#${accent}" "#${accent}"
client.focused_inactive "#${border}" "#${bg}" "#${fg}" "#${border}" "#${border}"
client.unfocused "#${border}" "#${bg}" "#${fg}" "#${border}" "#${border}"
client.urgent "#${border}" "#${bg}" "#${fg}" "#${border}" "#${border}"
client.placeholder "#${bg}" "#${bg}" "#${fg}" "#${bg}" "#${bg}"
client.focused_inactive "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.unfocused "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.urgent "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.placeholder "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
'';
}