summaryrefslogtreecommitdiff
path: root/.i3
diff options
context:
space:
mode:
Diffstat (limited to '')
-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