summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-02-06 22:25:18 +0100
committerGravatar Tom Willemsen2012-02-06 22:25:18 +0100
commit9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0 (patch)
treef3f9cc48ff1ce85859224582a2adf1a98f2b8cdf /bin
parent2f10eab467b0f993b8f66bfeeffdf89f9949b406 (diff)
downloaddotfiles-9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0.tar.gz
dotfiles-9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0.zip
XBINDKEYS: Remove external scripts for tag handling
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kill_tag10
-rwxr-xr-xbin/move_to_tag9
-rwxr-xr-xbin/switch_tags10
3 files changed, 0 insertions, 29 deletions
diff --git a/bin/kill_tag b/bin/kill_tag
deleted file mode 100755
index 79bbf5a..0000000
--- a/bin/kill_tag
+++ /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 merge_tag $FOO
-else
- notify-send "Unknown tag: $FOO"
-fi
diff --git a/bin/move_to_tag b/bin/move_to_tag
deleted file mode 100755
index 3cf1806..0000000
--- a/bin/move_to_tag
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/zsh
-
-. $HOME/bin/hlwm_source
-
-if [[ "${TAGS[@]}" != *" $FOO "* ]]; then
- herbstclient add $FOO
-fi
-
-herbstclient move $FOO
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