Repository navigation
Golden Gate: стекло становится сплошным и в эко-режиме / the glass goes solid in the eco mode too - #155
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Зачем
В эко-режиме
niri-game-modeснимает размытие и со слоёвangelos-*. Golden Gate узнаёт, что размытия нет, поcfg/game-mode.kdl, но ищет там только заголовок полноэкранного режимаeffects off. У эко-режима заголовок другой (no blur), поэтому стекло сохраняет прозрачный оттенок, рассчитанный на размытую подложку, и лежит над резким фоном. Центр управления, меню и остальные стеклянные панели в таком виде почти не читаются: текст окна под панелью смешивается с подписями плиток.Что сделано
В
services/GoldenGate.qmlgameModeставится по любому из двух заголовков.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-modeturns niri's blur off for theangelos-*layers too. Golden Gate learns there is no blur fromcfg/game-mode.kdl, but only looks for the fullscreen header there (effects off); the eco one saysno 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.gameModeinservices/GoldenGate.qmlnow matches either header;reduceTransparency,glassFxandblurOnfollow it as they do for a game.GOLDEN-GATE.md,PLUGINS.md,STUDIO_CONTRACT.mdand the comment inservices/Skin.qmlname 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