Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

all flag for closewindow

Open Kommynct opened this issue 10 months ago • 2 comments

Description

right now i have

hyprctl dispatch closewindow class:mpvsounds

setup to close a window right before i create it that way only one of a window can appear, however, if i mash the button really really fast (sometimes this happens due to a dumb bluetooth device) it opens multiple and doesn't close them.

This would be fixed by making it so that closewindow has a flag that closes all of the windows that meet the description.

Kommynct avatar Jan 30 '25 22:01 Kommynct

An unrelated big thank you for showing the syntax of hyprctl dispatch with: hyprctl dispatch closewindow class:mpvsounds

The wiki page just says the parameters are "window". Which I thought was referring to the window id.

Sneethe avatar Feb 14 '25 11:02 Sneethe

maybe something for xtra dispatchers

vaxerski avatar Feb 16 '25 20:02 vaxerski

check https://patch-diff.githubusercontent.com/raw/hyprwm/Hyprland/pull/9602.patch

and see if it's sufficient

ghost avatar Mar 12 '25 03:03 ghost

Hello there!

This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.

Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)

Thank you for your understanding!

vaxerski avatar Apr 05 '25 18:04 vaxerski