diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | nwd-i3-git.install | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = notify-when-done-i3-git pkgdesc = Get notifications when commands in non-focused i3's window finish. - pkgver = r31.3d3de01 + pkgver = r30.7b8990f pkgrel = 1 url = https://github.com/giuscri/notify-when-done-i3 install = nwd-i3-git.install diff --git a/nwd-i3-git.install b/nwd-i3-git.install index fbbb5ad5c622..04cce04f2178 100644 --- a/nwd-i3-git.install +++ b/nwd-i3-git.install @@ -1,6 +1,7 @@ post_install() { - echo "==> To complete installation, add the following line to your bashrc" - echo '==> [[ -f /usr/share/nwd/preexec.sh ]] && . /usr/share/nwd/preexec.sh' + echo "==> To complete installation, add the following lines to your bashrc" + echo ' [[ -S /run/user/$USER/i3/ipc-socket.$(pidof i3) && -f /usr/share/nwd/preexec.sh ]] \' + echo ' && . /usr/share/nwd/preexec.sh' echo '==> and restart bash' } |