10 lines
288 B
Bash
10 lines
288 B
Bash
#!/bin/bash
|
|
|
|
# Close all open windows that aren't in special:* workspaces
|
|
hyprctl clients -j |
|
|
jq -r '.[] | select(.workspace.name | startswith("special:") | not) | .address' |
|
|
xargs -I{} hyprctl dispatch closewindow address:{}
|
|
|
|
# Move to first workspace
|
|
hyprctl dispatch workspace 1
|