summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-01-31 15:45:32 +0100
committerGravatar Tom Willemsen2012-01-31 15:45:32 +0100
commitc06c29c929e11d0676ba446cff5d9a6023a50a1d (patch)
tree9e01af74516a6ead14d2bc1c278fc96d6a172127
parent1f659f7b6793097d8e6d2878e2e10c32079d4fee (diff)
downloaddotfiles-c06c29c929e11d0676ba446cff5d9a6023a50a1d.tar.gz
dotfiles-c06c29c929e11d0676ba446cff5d9a6023a50a1d.zip
Added move_to_tag command
-rwxr-xr-xbin/move_to_tag9
1 files changed, 9 insertions, 0 deletions
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