Add per-layer brightness source to composite CSS and enhance selectors

- Add optional brightness_source_id per composite layer using ValueStreamManager
- Use EntitySelect for composite layer source and brightness dropdowns
- Use IconSelect for composite blend mode and notification filter mode
- Add i18n keys for blend mode and filter mode descriptions (en/ru/zh)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 21:03:58 +03:00
parent c78797ba09
commit d498bb72a9
9 changed files with 181 additions and 17 deletions

View File

@@ -902,6 +902,9 @@
"color_strip.notification.filter_mode.off": "Off",
"color_strip.notification.filter_mode.whitelist": "Whitelist",
"color_strip.notification.filter_mode.blacklist": "Blacklist",
"color_strip.notification.filter_mode.off.desc": "Accept all notifications",
"color_strip.notification.filter_mode.whitelist.desc": "Only listed apps",
"color_strip.notification.filter_mode.blacklist.desc": "All except listed apps",
"color_strip.notification.filter_list": "App List:",
"color_strip.notification.filter_list.hint": "One app name per line. Use Browse to pick from running processes.",
"color_strip.notification.filter_list.placeholder": "Discord\nSlack\nTelegram",
@@ -945,10 +948,16 @@
"color_strip.composite.source": "Source",
"color_strip.composite.blend_mode": "Blend",
"color_strip.composite.blend_mode.normal": "Normal",
"color_strip.composite.blend_mode.normal.desc": "Standard alpha blending",
"color_strip.composite.blend_mode.add": "Add",
"color_strip.composite.blend_mode.add.desc": "Brightens by adding colors",
"color_strip.composite.blend_mode.multiply": "Multiply",
"color_strip.composite.blend_mode.multiply.desc": "Darkens by multiplying colors",
"color_strip.composite.blend_mode.screen": "Screen",
"color_strip.composite.blend_mode.screen.desc": "Brightens, inverse of multiply",
"color_strip.composite.opacity": "Opacity",
"color_strip.composite.brightness": "Brightness",
"color_strip.composite.brightness.none": "— None —",
"color_strip.composite.enabled": "Enabled",
"color_strip.composite.error.min_layers": "At least 1 layer is required",
"color_strip.composite.error.no_source": "Each layer must have a source selected",

View File

@@ -902,6 +902,9 @@
"color_strip.notification.filter_mode.off": "Выкл",
"color_strip.notification.filter_mode.whitelist": "Белый список",
"color_strip.notification.filter_mode.blacklist": "Чёрный список",
"color_strip.notification.filter_mode.off.desc": "Принимать все уведомления",
"color_strip.notification.filter_mode.whitelist.desc": "Только указанные приложения",
"color_strip.notification.filter_mode.blacklist.desc": "Все кроме указанных приложений",
"color_strip.notification.filter_list": "Список приложений:",
"color_strip.notification.filter_list.hint": "Одно имя приложения на строку. Используйте «Обзор» для выбора из запущенных процессов.",
"color_strip.notification.filter_list.placeholder": "Discord\nSlack\nTelegram",
@@ -945,10 +948,16 @@
"color_strip.composite.source": "Источник",
"color_strip.composite.blend_mode": "Смешивание",
"color_strip.composite.blend_mode.normal": "Обычное",
"color_strip.composite.blend_mode.normal.desc": "Стандартное альфа-смешивание",
"color_strip.composite.blend_mode.add": "Сложение",
"color_strip.composite.blend_mode.add.desc": "Осветляет, складывая цвета",
"color_strip.composite.blend_mode.multiply": "Умножение",
"color_strip.composite.blend_mode.multiply.desc": "Затемняет, умножая цвета",
"color_strip.composite.blend_mode.screen": "Экран",
"color_strip.composite.blend_mode.screen.desc": "Осветляет, обратное умножение",
"color_strip.composite.opacity": "Непрозрачность",
"color_strip.composite.brightness": "Яркость",
"color_strip.composite.brightness.none": "— Нет —",
"color_strip.composite.enabled": "Включён",
"color_strip.composite.error.min_layers": "Необходим хотя бы 1 слой",
"color_strip.composite.error.no_source": "Для каждого слоя должен быть выбран источник",

View File

@@ -902,6 +902,9 @@
"color_strip.notification.filter_mode.off": "关闭",
"color_strip.notification.filter_mode.whitelist": "白名单",
"color_strip.notification.filter_mode.blacklist": "黑名单",
"color_strip.notification.filter_mode.off.desc": "接受所有通知",
"color_strip.notification.filter_mode.whitelist.desc": "仅列出的应用",
"color_strip.notification.filter_mode.blacklist.desc": "排除列出的应用",
"color_strip.notification.filter_list": "应用列表:",
"color_strip.notification.filter_list.hint": "每行一个应用名称。使用「浏览」从运行中的进程中选择。",
"color_strip.notification.filter_list.placeholder": "Discord\nSlack\nTelegram",
@@ -945,10 +948,16 @@
"color_strip.composite.source": "源",
"color_strip.composite.blend_mode": "混合",
"color_strip.composite.blend_mode.normal": "正常",
"color_strip.composite.blend_mode.normal.desc": "标准 Alpha 混合",
"color_strip.composite.blend_mode.add": "叠加",
"color_strip.composite.blend_mode.add.desc": "通过叠加颜色提亮",
"color_strip.composite.blend_mode.multiply": "正片叠底",
"color_strip.composite.blend_mode.multiply.desc": "通过相乘颜色变暗",
"color_strip.composite.blend_mode.screen": "滤色",
"color_strip.composite.blend_mode.screen.desc": "提亮,正片叠底的反转",
"color_strip.composite.opacity": "不透明度",
"color_strip.composite.brightness": "亮度",
"color_strip.composite.brightness.none": "— 无 —",
"color_strip.composite.enabled": "启用",
"color_strip.composite.error.min_layers": "至少需要 1 个图层",
"color_strip.composite.error.no_source": "每个图层必须选择一个源",