From 9f48c01515dbe6b88e6c847f62bbc7bbcc9b08b0 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 6 Feb 2012 22:25:18 +0100 Subject: XBINDKEYS: Remove external scripts for tag handling --- bin/kill_tag | 10 ---------- bin/move_to_tag | 9 --------- bin/switch_tags | 10 ---------- 3 files changed, 29 deletions(-) delete mode 100755 bin/kill_tag delete mode 100755 bin/move_to_tag delete mode 100755 bin/switch_tags (limited to 'bin') 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 -- cgit v1.3-2-g0d8e