refactor(hypr): improve workspace movement
This permits for sending multiple windows at once without need to going back to the workspace
This commit is contained in:
parent
dde47478ce
commit
e334a6b1a2
@ -6,7 +6,7 @@ main() {
|
|||||||
local focused_monitor
|
local focused_monitor
|
||||||
focused_monitor="$(hyprctl monitors -j | jq -c '.[] | select(.focused)' | jq -r '.name')"
|
focused_monitor="$(hyprctl monitors -j | jq -c '.[] | select(.focused)' | jq -r '.name')"
|
||||||
|
|
||||||
hyprctl dispatch movetoworkspace "${workspace_id}"
|
hyprctl dispatch movetoworkspacesilent "${workspace_id}"
|
||||||
hyprctl dispatch movecurrentworkspacetomonitor "${focused_monitor}"
|
hyprctl dispatch movecurrentworkspacetomonitor "${focused_monitor}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user