HyprlandEvent: QtObject [uncreatable]

import Quickshell.Hyprland

Live Hyprland IPC event. More

Properties

Functions

Detailed Description

Live Hyprland IPC event. Holding this object after the signal handler exits is undefined as the event instance is reused.

Emitted by [signal] Hyprland.rawEvent().

Property Details

[readonly]

data: string

The unparsed data of the event.

[readonly]

name: string

The name of the event.

See Hyprland Wiki: IPC for a list of events.

Function Details

list<string> parse(argumentCount: int)

Parse this event with a known number of arguments.

Argument count is required as some events can contain commas in the last argument, which can be ignored as long as the count is known.