aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe2017-06-12 17:59:31 +0200
committerGiuseppe2017-06-12 18:00:15 +0200
commit47f9f4cae318306114d8fd43f6d0d138f0145453 (patch)
tree9c3f3d719a3259b2137dfec79e1c722dd06c7620
parentc3bac3a155294631c9d524c5dc212c34fdc4a554 (diff)
downloadaur-47f9f4cae318306114d8fd43f6d0d138f0145453.tar.gz
Make sourceable script checking if i3 is running.
-rw-r--r--.SRCINFO2
-rw-r--r--nwd-i3-git.install5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cf73c0bba2a..8f4d83053f84 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 = 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'
}