mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-18 03:48:44 +01:00
hyprland: Add multi-monitor support to tags.sh
This fixes an issue where the script would previously fail to work with multiple monitors.
This commit is contained in:
parent
8e203e5a84
commit
6bfdb67480
@ -6,6 +6,6 @@ ids="$(hyprctl clients -j | jq -r ".[] | select(.workspace.id == "$1") | .addres
|
||||
|
||||
# Move those windows to the current workspace
|
||||
for id in $ids; do
|
||||
hyprctl dispatch movetoworkspacesilent "$(hyprctl monitors | rg active | choose 2)",address:"$id"
|
||||
hyprctl dispatch movetoworkspacesilent "$(hyprctl monitors -j | jq -r '.[] | select(.focused==true) | .activeWorkspace.id')",address:"$id"
|
||||
hyprctl dispatch focuswindow address:"$id"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user