summaryrefslogtreecommitdiff
path: root/.wmii/wmiirc
diff options
context:
space:
mode:
Diffstat (limited to '.wmii/wmiirc')
-rwxr-xr-x.wmii/wmiirc5
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