Hyprland
Hyprland copied to clipboard
all flag for closewindow
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.
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.
maybe something for xtra dispatchers
check https://patch-diff.githubusercontent.com/raw/hyprwm/Hyprland/pull/9602.patch
and see if it's sufficient
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!