#!/bin/zsh -f if [[ $# -lt 2 ]] ; then echo "rename-workspace old new" exit fi i3-msg "rename workspace \"$1\" to \"$2\""