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>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-17 22:13:48 +02:00
1 parent 9e1ac4efe7
commit bfbfc8961e
15 files changed
+325 -1

No files matched your search

+25
View File
@@ -11,6 +11,31 @@ SettingsPage {
Modules.Profiles {
Layout.fillWidth: true
}
SettingsSection {
title: "Game Mode"
description: "What the Control Center's Game Mode tile changes while it is on"
PreferenceToggle {
label: "Turn off animations, blur, shadows and glass"
icon: "󰂵"
setting: "gameMode.effects"
}
PreferenceToggle {
label: "Performance power profile"
description: "Back to the previous profile afterwards"
icon: "󰓅"
setting: "gameMode.performance"
}
PreferenceToggle {
label: "Do Not Disturb"
description: "Built-in notifications only"
icon: "󰽥"
setting: "gameMode.doNotDisturb"
}
}
SettingNote {
warning: true
text: GameModeService.error
}
SettingsSection {
title: "Lock screen"
padded: true