import Quickshell.Hyprland All hyprland monitors.
Currently active toplevel (might be null)
All hyprland toplevels
All hyprland workspaces, sorted by id.
NOTE
Named workspaces have a negative id, and will appear before unnamed workspaces.
Path to the event socket (.socket2.sock)
The currently focused hyprland monitor. May be null.
The currently focused hyprland workspace. May be null.
Path to the request socket (.socket.sock)
True if Hyprland is running in lua mode. Dispatcher syntax changes when using lua.
This property will be false until the Hyprland module is initialized.
Execute a hyprland dispatcher.
Get the HyprlandMonitor object that corresponds to a quickshell screen.
Refresh monitor information.
Many actions that will invalidate monitor state don’t send events, so this function is available if required.
Refresh toplevel information.
Many actions that will invalidate workspace state don’t send events, so this function is available if required.
Refresh workspace information.
Many actions that will invalidate workspace state don’t send events, so this function is available if required.
Emitted for every event that comes in through the hyprland event socket (socket2).
See Hyprland Wiki: IPC for a list of events.