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

+6
View File
@@ -161,6 +161,8 @@ Schema 3 preserves existing pins/settings and adds dock defaults.
Run `./scripts/glassmxrph launcher` to toggle the running shell's launcher.
Search applications, use Up/Down and Enter, or type `>` for Settings commands such
as `>dock`, `>appearance`, `>wallpaper` and `>media`. Escape/outside click closes.
The two round pills beside the search bar switch to Clipboard History and the Emoji
picker (click again to go back); `>clipboard` and `>emoji` do the same.
Other future destinations remain explicitly labelled until their phases are implemented. All destinations are also in Settings' page selector.
Recent-file indexing is deferred.
@@ -186,6 +188,10 @@ of the panel lets you drag tiles to any cell, resize them from the corner handle
Plugins with a Noctalia `controlCenterWidget` entry point appear there as tiles too.
Right-click Sound to extend it with a volume slider per app (the players
EasyEffects processes); right-click a toggle to open its settings.
**Game Mode** (tile) turns off animations, blur, shadows and HyprGlass, switches to
the performance power profile and turns on Do Not Disturb until you switch it off;
Settings → Power chooses which. Changed values are journalled and restored exactly,
also after a shell crash. `glassmxrph`'s IPC target `gamemode` toggles it.
Logout, reboot and shutdown require explicit confirmation.
NetworkManager, BlueZ and PipeWire use native Quickshell models. Other controls reuse