diff options
author | Tom Willemsen | 2012-02-06 22:25:18 +0100 |
---|---|---|
committer | Tom Willemsen | 2012-02-06 22:25:18 +0100 |
commit | 9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0 (patch) | |
tree | f3f9cc48ff1ce85859224582a2adf1a98f2b8cdf /bin | |
parent | 2f10eab467b0f993b8f66bfeeffdf89f9949b406 (diff) | |
download | dotfiles-9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0.tar.gz dotfiles-9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0.zip |
XBINDKEYS: Remove external scripts for tag handling
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/kill_tag | 10 | ||||
-rwxr-xr-x | bin/move_to_tag | 9 | ||||
-rwxr-xr-x | bin/switch_tags | 10 |
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 |