dsh-pet-game-guard

Hides the dsh-pet desktop pet while a game or fullscreen app is in the foreground, then brings it back. Decides from three signals — a captionless window covering the whole monitor, the foreground process living in a game directory, and the system's full-screen notification state — and requires two consistent polls before acting, so alt-tabbing does not make the pet flicker. It only toggles window visibility; dsh-pet's configuration and install directory are never touched. A tray menu offers pause, restore now, and reload config. Windows only.

Overview

Hides the dsh-pet desktop pet while a game or fullscreen app is in the foreground, then brings it back. Decides from three signals — a captionless window covering the whole monitor, the foreground process living in a game directory, and the system's full-screen notification state — and requires two consistent polls before acting, so alt-tabbing does not make the pet flicker. It only toggles window visibility; dsh-pet's configuration and install directory are never touched. A tray menu offers pause, restore now, and reload config. Windows only.

Installation

Install from GitHub

dsh plugin --profile web add github:sadnessXU/dsh-pet-game-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.