8 lines
186 B
Bash
8 lines
186 B
Bash
#!/usr/bin/bash
|
|
|
|
# current highest-numbered workspace
|
|
MAX_WORKSPACE=$(hyprctl workspaces -j | jq 'sort_by(.id) | reverse | .[0].id')
|
|
|
|
hyprctl dispatch workspace $(($MAX_WORKSPACE + 1))
|
|
|