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>
17 lines
453 B
QML
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()
|
|
}
|