diff options
author | Giuseppe | 2017-06-07 11:28:46 +0200 |
---|---|---|
committer | Giuseppe | 2017-06-07 11:28:46 +0200 |
commit | 0e7ad23077eac990577f0d6ae95a940235622850 (patch) | |
tree | d47ebe7ace342e55d6631e26394f698ca7b03d83 | |
parent | 8aadcb6e4a2cfe22a52e8616e961bf21994116ef (diff) | |
download | aur-0e7ad23077eac990577f0d6ae95a940235622850.tar.gz |
precmd() must resets variables.
-rw-r--r-- | nwd-preexec.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nwd-preexec.sh b/nwd-preexec.sh index ad56f3e71cd8..e6f5db955738 100644 --- a/nwd-preexec.sh +++ b/nwd-preexec.sh @@ -3,6 +3,8 @@ _precmd() { if [[ $ND_FOCUSED_WS && $ND_FOCUSED_WS -ne $CURRENT_WS ]]; then notify-send -u critical "$ND_CMD" "Done @workspace=$ND_FOCUSED_WS" fi + + ND_FOCUSED_WS= } _preexec() { |