summaryrefslogtreecommitdiff
path: root/.i3
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-08-29 10:59:26 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-08-29 11:00:34 +0200
commit9740f89ad3d868ed006e1d4e074592a37da2235e (patch)
treea36de3a9d497755bee547bb118a9c13493c4f742 /.i3
parent6b8691a774cc9022a4d046279c017d53f20bbb57 (diff)
downloaddotfiles-9740f89ad3d868ed006e1d4e074592a37da2235e.tar.gz
dotfiles-9740f89ad3d868ed006e1d4e074592a37da2235e.tar.bz2
dotfiles-9740f89ad3d868ed006e1d4e074592a37da2235e.zip
Do not use coproc, but directly pipe to while-loop.
Diffstat (limited to '.i3')
-rwxr-xr-x.i3/scripts/start_pidgin.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/.i3/scripts/start_pidgin.sh b/.i3/scripts/start_pidgin.sh
index 5fbee02..6fb144b 100755
--- a/.i3/scripts/start_pidgin.sh
+++ b/.i3/scripts/start_pidgin.sh
@@ -11,9 +11,8 @@ pidgin &
# wait for the DBus-Service to be available
# we use '--profile' because it renders nicer output
-coproc dbus-monitor --profile "interface=im.pidgin.purple.PurpleInterface"
-
-while read -p line; do
+dbus-monitor --profile "interface=im.pidgin.purple.PurpleInterface" |
+while read line; do
[[ $line =~ 'UpdateIdle$' ]] && break
# if the blist is automatically shown, we exit
# else we would move the focus, which is bad