-->
import Quickshell.Hyprland
If this workspace is currently active on its monitor. See also focused.
If this workspace is currently active on a monitor and that monitor is currently focused. See also active.
Last json returned for this workspace, as a javascript object.
WARNING
This is not updated unless the workspace object is fetched again from Hyprland. If you need a value that is subject to change and does not have a dedicated property, run Hyprland.refreshWorkspaces() and wait for this property to update.
Activate the workspace.
NOTE
This is equivalent to running
HyprlandIpc.dispatch(`workspace ${workspace.id}`);