1 2 3 4 5 6 7
#!/bin/sh if [ -z $1 ]; then exit 0 else i3-msg "rename workspace to ${1}" > /dev/null exit 1 fi