Skip to content

Golden Gate: стекло становится сплошным и в эко-режиме / the glass goes solid in the eco mode too - #155

Merged
MixaDoDs merged 2 commits into
MixaDoDs:mainfrom
Alastor1991:goldengate-eco-solid
Nov 3, 2026
Merged

MixaDoDs merged 2 commits into
MixaDoDs:mainfrom
Alastor1991:goldengate-eco-solid

Conversation

@Alastor1991

@Alastor1991 Alastor1991 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Зачем

В эко-режиме niri-game-mode снимает размытие и со слоёв angelos-*. Golden Gate узнаёт, что размытия нет, по cfg/game-mode.kdl, но ищет там только заголовок полноэкранного режима effects off. У эко-режима заголовок другой (no blur), поэтому стекло сохраняет прозрачный оттенок, рассчитанный на размытую подложку, и лежит над резким фоном. Центр управления, меню и остальные стеклянные панели в таком виде почти не читаются: текст окна под панелью смешивается с подписями плиток.

Что сделано

В services/GoldenGate.qml gameMode ставится по любому из двух заголовков. reduceTransparency, glassFx и blurOn следуют за ним так же, как в игре: стекло сплошное, шейдер выгружен, размытие у niri не просится.

Документация: в GOLDEN-GATE.md (что выключает стекло), PLUGINS.md и STUDIO_CONTRACT.md (когда Skin.reduceTransparency истинно) и в комментарии над ним в services/Skin.qml теперь упомянут режим экономии.

Проверено

scripts/qml-check.sh: 719 файлов, 0 ошибок. На ноутбуке в эко-режиме от батареи центр управления после правки сплошной и читается.

EN

In the eco mode niri-game-mode turns niri's blur off for the angelos-* layers too. Golden Gate learns there is no blur from cfg/game-mode.kdl, but only looks for the fullscreen header there (effects off); the eco one says no blur, so the glass kept the clear tint meant for a blurred backdrop over a sharp one, and the Control Centre, menus and the rest could hardly be read.

gameMode in services/GoldenGate.qml now matches either header; reduceTransparency, glassFx and blurOn follow it as they do for a game. GOLDEN-GATE.md, PLUGINS.md, STUDIO_CONTRACT.md and the comment in services/Skin.qml name the eco mode now.

qml-check: 719 files, 0 errors; on the laptop in the eco mode on battery the Control Centre is solid and readable now.

🤖 Generated with Claude Code

Alastor1991 and others added 2 commits November 2, 2026 17:20
In the eco mode niri-game-mode turns niri's blur off for angelOS's layers as well, but
GoldenGate.gameMode only knew the fullscreen header of cfg/game-mode.kdl ("effects off").
The eco one says "no blur", so the glass kept its clear tint over a sharp background and
the Control Centre, menus and the rest could not be read.

gameMode now matches either header; reduceTransparency, glassFx and blurOn follow it as
they do for a game. qml-check: 719 files, 0 errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GOLDEN-GATE.md (what turns the glass off: both headers of cfg/game-mode.kdl), PLUGINS.md
and STUDIO_CONTRACT.md (when Skin.reduceTransparency is true) and the comment over it in
services/Skin.qml name the eco mode now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MixaDoDs
MixaDoDs merged commit 10d0de7 into MixaDoDs:main Nov 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants