Skip to content

[Feature]: Dynamic Deck Page Switching based on Active Foreground Window #103

Closed

Description

@volo32

What would you like to do?

Is your feature request related to a problem? Please describe.
Currently, users have to manually swipe between pages on their PhoneBox deck when switching contexts on their PC (e.g., moving from an IDE like VS Code to a game, OBS, or a media player).

Describe the solution you'd like
Extend the existing ProcessMonitor and RuleEngine to support an action that switches the active page on the connected phone panel when a configured process/window comes into the foreground (with an optional fallback/default page when none match).

Security & Privacy Alignment

Uses existing local process/window detection (ProcessMonitor.cs) — no new network endpoints or external connections required.

Process-to-page rules are configured locally on the PC in settings; the phone only receives a page ID instruction over the existing authenticated stream.

Opt-in via rules configuration (disabled by default until a user creates a rule).

How could PhoneBox help?

No response

Data and privacy

No response

Contributing

  • I'd like to build this myself (please read CONTRIBUTING.md and wait for a go-ahead on larger features)

Activity

  1. ersinkoc commented on Nov 16, 2026

    @ersinkoc
    Owner

    Implemented by #104 (thanks @Seyamalam). Rules have a new condition, an app is in front: pick it with show the page and while active, and the phone follows the app you're using, then goes back when you switch away. It works on Windows, on macOS (Accessibility permission), and on Linux under X11 with xdotool; not under Wayland. It ships in the next release.

  2. ersinkoc commented on Nov 16, 2026

    @ersinkoc
    Owner

    The an app is in front rule condition is out in 0.9.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions