New Dispatcher: enablegroup #10874
Closed
Answered
by
Patitotective
Patitotective
asked this question in
Feature requests - Window management
-
When configuring my binds I came across a situation where an If |
Beta Was this translation helpful? Give feedback.
Answered by
Patitotective
Jul 31, 2025
Replies: 2 comments
-
you can script this within one line of bash |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was my solution in fish: #!/bin/fish
# If the active window is in a group, do nothing, otherwise make it into a group
set groupedLen (hyprctl -j activewindow | jq '.grouped | length')
if test $groupedLen -eq 0
hyprctl dispatch togglegroup
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Patitotective
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was my solution in fish: