diff --git a/bin/move_to_tag b/bin/move_to_tag new file mode 100755 index 0000000..3cf1806 --- /dev/null +++ b/bin/move_to_tag @@ -0,0 +1,9 @@ +#!/bin/zsh + +. $HOME/bin/hlwm_source + +if [[ "${TAGS[@]}" != *" $FOO "* ]]; then + herbstclient add $FOO +fi + +herbstclient move $FOO