Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Dispatcher focuswindow need return a error code if no matching window found

Open jheroy opened this issue 5 months ago • 0 comments

Description

The current behavior is to return 0 regardless of whether a corresponding window is found. If changed to return 1 when no matching window is found, it would enable the operation of opening the program if it is not already open, or switching to the program otherwise.

hyprctl dispatch focuswindow firefox || hyprctl dispatch exec firefox

jheroy avatar Mar 08 '24 01:03 jheroy