Repository navigation
How to force full opacity when Game Mode is active? #1427
Replies: 2 comments
|
ill probably pr this at some point |
you can't do it from applyOptions() as game mode only sets hyprland config keywords, caelestia's window transparency comes from a windowrule and not a config option so decoration:active_opacity: 1.0 won't work
simplest way is to add a named windowrule that toggles alongside game mode in a new single keybind (e.g. SUPER + SHIFT + G) in:
hl.dispatch() is required as hl.dsp.exec_cmd() alone returns a closure and does nothing also, this only affects window opacity as shell panels (bar, drawers) are rendered by quickshell/Qt, not hyprland i know the question is over 6 months old, but hopefully this also helps anyone else looking into this |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone!
Does anyone know how to properly modify the Game Mode service to disable transparency entirely?
Currently, when I toggle Game Mode, the blur is disabled, but the windows and the shell stay transparent. Without the blur effect, it looks pretty bad (visual noise) and I'd rather have everything become 100% opaque for better readability and performance.
I found GameMode.qml, but I'm not sure if simply adding active_opacity: 1.0 to applyOptions is the "intended" way to do it in Caelestia, or if there is a better way to override this via hypr-user.conf.
Has anyone implemented a "Solid UI" mode for the Game Mode toggle? I'd appreciate any tips on how to make both the windows and the shell panels fully opaque when the mode is on.
Thanks in advance!
All reactions