Files
glassMxrph/quickshell/controlcenter/modules/GameMode.qml
T
mxandClaude Opus 5.5 bfbfc8961e Add a manual Game Mode Control Center tile
Turns off animations, blur, shadows and HyprGlass, switches to the
performance power profile and turns on Do Not Disturb, each optional in
Settings > Power. The helper journals the values it changes per Hyprland
session and restores them exactly, also after a shell crash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 22:13:48 +02:00

17 lines
453 B
QML

pragma ComponentBehavior: Bound
import QtQuick
import ".."
import "../../services"
// Game Mode switch; right click opens its options in Settings → Power.
CCTile {
objectName: "gameModeToggle"
title: "Game Mode"
detail: GameModeService.error ? GameModeService.error : GameModeService.active ? "On" : "Off"
page: "power"
glyph: "󰊴"
fallback: "G"
checked: GameModeService.active
onClicked: GameModeService.toggle()
}