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:
Price Hiller 2023-07-07 14:04:36 -05:00
parent dde47478ce
commit e334a6b1a2
No known key found for this signature in database

View File

@ -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}"
} }