Skip to content

New Dispatcher: enablegroup #10874

Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Patitotective
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants