feat: rename Game Bar to Quickpanel and support DMS 2.0

This commit is contained in:
Keule2 committed 2026-10-31 22:24:19 +01:00
1 parent 018e326918
commit f0ea2baba3
27 files changed
+158 -145

No files matched your search

+30 -22
View File
@@ -1,6 +1,14 @@
# Game Bar
# Quickpanel
An overlay for [DankMaterialShell](https://danklinux.com/docs/dankmaterialshell/plugins-overview).
An overlay for [Dux Shell (DMS)](https://duxlabs.dev/docs/dms/plugin-development), requiring DMS 2.0 or newer.
Previously named Game Bar / ControlCenter. The plugin directory and ID are now `quickpanel`,
and IPC commands use `dms ipc call quickpanel …` (distinct from the shell's
built-in `control-center` target). On first enable, existing ControlCenter or Game Bar settings,
tokens, and widget layouts are copied automatically without overwriting existing
Quickpanel settings; the old settings entries are retained as backups. Update any bar widget
references from `gameBar` or `controlCenter` to `quickpanel` and any keybinds to the new IPC target.
The Git remote retains its existing repository URL until renamed on the server.
## Widgets
@@ -19,7 +27,7 @@ An overlay for [DankMaterialShell](https://danklinux.com/docs/dankmaterialshell/
## Home Assistant
Settings → Plugins → Game Bar:
Settings → Plugins → Quickpanel:
1. **Home Assistant URL**, e.g. `http://homeassistant.local:8123`
2. **Long-lived access token** — HA profile page → *Security* → *Create token*.
@@ -30,7 +38,7 @@ Settings → Plugins → Game Bar:
State is polled (default every 5 s) only while the Home widget is open. The token is handed to
`curl` through the process environment, so it never shows up in the process list.
If a refresh fails, `dms ipc call gameBar homeStatus` shows what the plugin actually sent and got
If a refresh fails, `dms ipc call quickpanel homeStatus` shows what the plugin actually sent and got
back. A `401` means Home Assistant rejected the token; compare with
```bash
@@ -42,27 +50,27 @@ Note that editing `plugin_settings.json` by hand does not reach a running shell.
| Command | Effect |
|---|---|
| `dms ipc call gameBar toggle` | Toggle the overlay |
| `dms ipc call gameBar open` | Open the overlay |
| `dms ipc call gameBar close` | Close the overlay |
| `dms ipc call gameBar widget audio\|apps\|media\|home\|system` | Show/hide one widget |
| `dms ipc call gameBar homeToggle <entity_id>` | Toggle an entity (activates a scene/script/button) |
| `dms ipc call gameBar homeRefresh` | Re-poll Home Assistant now |
| `dms ipc call gameBar homeStatus` | Print URL, token length, HTTP status, entity/picked counts and last error |
| `dms ipc call gameBar record` | Start/stop recording the focused monitor |
| `dms ipc call gameBar replay` | Arm/disarm the replay buffer |
| `dms ipc call gameBar saveReplay` | Write the last N seconds to disk |
| `dms ipc call gameBar captureStatus` | Print recorder mode, monitor, elapsed time and last file |
| `dms ipc call gameBar brightnessStatus` | Print the display→DDC map, pins and resolved brightness per screen |
| `dms ipc call gameBar layoutStatus` | Print each screen's layout key and where every widget resolves |
| `dms ipc call gameBar timer <seconds> [label]` | Start a countdown |
| `dms ipc call gameBar timerStop` | Stop and reset the countdown |
| `dms ipc call gameBar timerStatus` | Print countdown and stopwatch state |
| `dms ipc call gameBar resetLayout` | Forget all saved widget positions |
| `dms ipc call quickpanel toggle` | Toggle the overlay |
| `dms ipc call quickpanel open` | Open the overlay |
| `dms ipc call quickpanel close` | Close the overlay |
| `dms ipc call quickpanel widget audio\|apps\|media\|home\|system` | Show/hide one widget |
| `dms ipc call quickpanel homeToggle <entity_id>` | Toggle an entity (activates a scene/script/button) |
| `dms ipc call quickpanel homeRefresh` | Re-poll Home Assistant now |
| `dms ipc call quickpanel homeStatus` | Print URL, token length, HTTP status, entity/picked counts and last error |
| `dms ipc call quickpanel record` | Start/stop recording the focused monitor |
| `dms ipc call quickpanel replay` | Arm/disarm the replay buffer |
| `dms ipc call quickpanel saveReplay` | Write the last N seconds to disk |
| `dms ipc call quickpanel captureStatus` | Print recorder mode, monitor, elapsed time and last file |
| `dms ipc call quickpanel brightnessStatus` | Print the display→DDC map, pins and resolved brightness per screen |
| `dms ipc call quickpanel layoutStatus` | Print each screen's layout key and where every widget resolves |
| `dms ipc call quickpanel timer <seconds> [label]` | Start a countdown |
| `dms ipc call quickpanel timerStop` | Stop and reset the countdown |
| `dms ipc call quickpanel timerStatus` | Print countdown and stopwatch state |
| `dms ipc call quickpanel resetLayout` | Forget all saved widget positions |
## Settings
Settings → Plugins → Game Bar (gear icon):
Settings → Plugins → Quickpanel (gear icon):
- **Background dimming** — how dark the desktop behind the overlay gets (0–95%).
- **Capture** — folder, frame rate, quality, replay buffer length and the recorded audio source