diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-30 19:34:40 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-30 19:34:40 -0400 |
commit | c9e73feae3f2f452cbca92193cc297276b36d59f (patch) | |
tree | 67e30ff62c51e317700127c886d53a6c34b09e75 /.wmii/wmiirc | |
parent | 9e4c6dfa62435895d777c658b71aafb67638c549 (diff) |
fix 2 bugs in wmiirc
Diffstat (limited to '.wmii/wmiirc')
-rwxr-xr-x | .wmii/wmiirc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.wmii/wmiirc b/.wmii/wmiirc index 82c424b..92adb8b 100755 --- a/.wmii/wmiirc +++ b/.wmii/wmiirc @@ -47,7 +47,8 @@ Event() { # might complain about /etc/mtab if the x server has already stopped fusermount -u "$WMII_DIR" 2>>/dev/null echo " -> rmdir'ing WMII_DIR=$WMII_DIR..." - rmdir "$WMII_DIR";; + rmdir "$WMII_DIR" + exit;; Warning) ## $@=string notify-send "wmii warning: $*";; Key) ## $1=keystroke @@ -226,7 +227,7 @@ Key() { sel=$(sed 1q $WMII_DIR/client/sel/ctl) { tag=$(lstags | wimenu -h "${hist}.tags" -n 50) || return - wmiir xwrite /client/$sel/tags $tag + wmiir xwrite /client/$sel/tags "$tag" }& ;; esac } ## End Key |