aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe2017-06-13 21:07:50 +0200
committerGiuseppe2017-06-13 21:07:50 +0200
commit983bd73b78c7a76c77227e0810da31017a1ca7ce (patch)
tree6c366b886496f1f2da118c105aa73232e788f2b7
parent300a0b207bf74c962c5ad948d101d16539d1ee51 (diff)
downloadaur-983bd73b78c7a76c77227e0810da31017a1ca7ce.tar.gz
Fix bug
-rw-r--r--.SRCINFO2
-rw-r--r--preexec.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f4d83053f84..158e0f521787 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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)