From 4e8992266f11ce8008f5fce460cc64110b15c99b Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 10 Jun 2018 17:39:35 +0200 Subject: [i3] Remove obsolete pidgin stuff --- .i3/scripts/start_pidgin.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 .i3/scripts/start_pidgin.sh (limited to '.i3/scripts') diff --git a/.i3/scripts/start_pidgin.sh b/.i3/scripts/start_pidgin.sh deleted file mode 100755 index 8261113..0000000 --- a/.i3/scripts/start_pidgin.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/zsh -# -# Start Pidgin and make sure, that the buddylist is shown. -# - -# test for pidgin already running -(( `pgrep -xc pidgin` )) && return - -# start dbus-monitor -coproc dbus-monitor --profile "interface=im.pidgin.purple.PurpleInterface" -dbus_pid=$! - -# kill it on exit -TRAPEXIT() { kill $dbus_pid } - -# start pidgin in background -pidgin & - -# wait for the DBus-Service to be available -# we use '--profile' because it renders nicer output -while read -p line; do - [[ $line =~ 'UpdateIdle$' ]] && break - # if the blist is automatically shown, we exit - # else we would move the focus, which is bad - [[ $line =~ 'GtkblistUnhiding$' ]] && return -done - -# if we are here, pidgin is running and the blist is not yet visible -exec purple-send-async PurpleBlistSetVisible int32:1 -- cgit v1.2.3-70-g09d2