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:
1 parent
9e1ac4efe7
commit
bfbfc8961e
15 files changed
+325
-1
No files matched your search
@@ -166,6 +166,7 @@ Item {
|
||||
BluetoothService.backend = root.btBackend;
|
||||
SystemService.helper = "testing/recording_system.py";
|
||||
CaffeineService.command = ["sleep", "infinity"];
|
||||
GameModeService.helper = "testing/recording_gamemode.py";
|
||||
SystemService.refresh();
|
||||
return true;
|
||||
}
|
||||
@@ -292,6 +293,8 @@ Item {
|
||||
streams: AudioService.streams.map(n => AudioService.streamName(n)),
|
||||
streamMuted: root.streamNode.audio.muted,
|
||||
caffeine: CaffeineService.active,
|
||||
gameMode: GameModeService.active,
|
||||
gameModeApplied: GameModeService.applied,
|
||||
caffeineRunning: CaffeineService.running,
|
||||
active: ScreenService.active.name,
|
||||
screens: Quickshell.screens.map(s => s.name),
|
||||
|
||||
Reference in new issue
Block a user