Skip to content

How to use the Hyprland.rawEvent(event) method? #44

@exaltedtopaz

Description

@exaltedtopaz

I want to know the active state of specialworkspace and I figured that I can listen to the activespecial event emitted by Hyprland's IPC.

I tried Hyprland.rawEvent("activespecial") but got this:

  WARN: "Could not convert argument 0 at"
  WARN: 	 "expression for onCompleted@qsintercept:///mnt/Data/Projects/dota2-dotfiles/shell.qml:23"
  WARN: Passing incompatible arguments to signals is not supported.

I've found an example to listen to Hyprland's IPC here, however, I don't find an example utilizing Hyprland.rawEvent(event).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions