blob: e04945af1455b97e6acf7b065aa47bd8c31f7196 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
# Restore all windows from special:stash to current workspace
workspace=$(hyprctl activeworkspace -j | jq -r '.id')
# Get all windows in special:stash and move them to current workspace
hyprctl clients -j | jq -r '.[] | select(.workspace.name == "special:stash") | .address' | \
while read -r addr; do
hyprctl dispatch movetoworkspacesilent "$workspace",address:"$addr"
done
|