i3config/scripts/i3-empty-workspace.sh

3 lines
94 B
Bash
Executable File

#!/bin/sh
i3-msg workspace $(($(i3-msg -t get_workspaces | jq ' [ .[] | .num ] | max ') + 1))