diff options
author | Giuseppe | 2017-06-13 21:07:50 +0200 |
---|---|---|
committer | Giuseppe | 2017-06-13 21:07:50 +0200 |
commit | 983bd73b78c7a76c77227e0810da31017a1ca7ce (patch) | |
tree | 6c366b886496f1f2da118c105aa73232e788f2b7 | |
parent | 300a0b207bf74c962c5ad948d101d16539d1ee51 (diff) | |
download | aur-983bd73b78c7a76c77227e0810da31017a1ca7ce.tar.gz |
Fix bug
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | preexec.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = notify-when-done-i3-git pkgdesc = Get notifications when commands in non-focused i3's window finish. - pkgver = r30.7b8990f + pkgver = r38.300a0b2 pkgrel = 1 url = https://github.com/giuscri/notify-when-done-i3 install = nwd-i3-git.install diff --git a/preexec.sh b/preexec.sh index c30fd992cdc4..29165e37bbc9 100644 --- a/preexec.sh +++ b/preexec.sh @@ -8,7 +8,7 @@ __nwd_preexec() { local no_i3 no_i3=0 [[ -z $DISPLAY || $(pgrep i3|wc -l) -eq 0 ]] && no_i3=1 - [[ $no_i3 -eq 1 || -z $__nwd_cmd ]] && return + [[ $no_i3 -eq 1 || -z $1 ]] && return __nwd_cmd=$1 __nwd_previous_focused=$(python3 /usr/share/nwd/focused_window.py) |