Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
org.plasmazones.Control

High-level convenience API for third-party integrations and scripts.

Well-known name org.plasmazones.Control
Source XML org.plasmazones.Control.xml
Methods 5
Signals 0
Properties 0

Methods

<tt>snapWindowToZone()</tt>

Snap a window to a zone by number on a screen.

Arg Direction Type Description
windowId in s *(string)* Window to snap.
zoneNumber in i *(int32)* Zone number (1-indexed).
screenId in s *(string)* Screen for layout resolution (empty = primary).

<tt>toggleAutotileForScreen()</tt>

Toggle between snapping and autotile mode for a screen, at the screen level (all desktops, all activities). This is a bare mode switch: it also clears whatever snapping layout and tiling algorithm that context had pinned, so the toggled mode resolves through the assignment cascade and the global default. A scrolling template assigned to the context is left intact. Callers that need the pinned slots kept should drive org.plasmazones.LayoutRegistry.setAssignmentEntry directly and pass them back.

Arg Direction Type Description
screenId in s *(string)* Screen to toggle.

<tt>getFullState()</tt>

Get complete daemon state snapshot as JSON.

Arg Direction Type Description
state out s *(string)* JSON with layouts, windows, autotile state.

<tt>generateSupportReport()</tt>

Generate a redacted support report for bug reports and discussions.

Arg Direction Type Description
sinceMinutes in i *(int32)* Minutes of journal logs to include (0 = default 30, max 120).
report out s *(string)* Markdown-formatted support report with config, screens, and logs.

<tt>quit()</tt>

Ask the daemon to shut down cleanly. Quits the event loop, so the daemon runs its ordinary teardown on the main thread rather than tearing down inside the call. This is what plasmazonesd --replace calls on the running instance before claiming the bus name. Calling it while a shutdown is already in flight is a no-op.

No arguments.