summaryrefslogtreecommitdiffstats
path: root/bin/switch_tags
diff options
context:
space:
mode:
Diffstat (limited to 'bin/switch_tags')
-rwxr-xr-xbin/switch_tags10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/switch_tags b/bin/switch_tags
deleted file mode 100755
index 55eda0a..0000000
--- a/bin/switch_tags
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/zsh
-
-TAGS=( $(herbstclient tag_status 0 | tr ":\!.+#" " ") )
-FOO=$(for i in "${TAGS[@]}"; do echo $i; done | dmenu)
-
-if [[ "${TAGS[@]}" != *"$FOO"* ]]; then
- herbstclient add $FOO
-fi
-
-herbstclient use $FOO