1

Rofi: Use new color module formats

This commit is contained in:
2024-10-14 17:41:03 +02:00
parent c37f449912
commit 5f744eb739

View File

@ -34,17 +34,14 @@ in {
sidebar-mode = false;
};
# bg-col: rgba(239, 241, 245, 60%);
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
mkColor = color: mkLiteral "#{color}";
in {
"*" = {
bg = mkLiteral "rgba(239, 241, 245, 0.3)";
bg = mkLiteral "rgba(${color.rgbString.light.base}, 0.3)";
hl = mkLiteral "#${color.dark.lavender}";
text = mkLiteral "#${color.dark.base}";
trans = mkLiteral "rgba(255, 255, 255, 0)";
trans = mkLiteral "rgba(0, 0, 0, 0)";
};
"element-text,element-icon,mode-switcher" = {