Swappy: Add custom_color ahead of time.

This commit is contained in:
Dmitry Voronin 2024-10-29 03:44:27 +03:00
parent 3df3e1ebbf
commit f57cf3bbf2
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -2,6 +2,7 @@
{
config = (pkgs.formats.ini { }).generate "SwappyConfig" {
Default = {
custom_color = with config.style.color; "rgba(${accent-r},${accent-g},${accent-b},1)";
early_exit = true;
fill_shape = false;
line_size = 4;