Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to keep Pidgin available
#!/usr/bin/env bash
# My Lync client and Pidgin fights over whether I'm inactive or not. I got mad and made this script
# to keep Pidgin status as "available"
KEEP_STATUS="available"
while sleep 1 ; do
status="$( purple-remote getstatus )"
if ! [ "$status" = "$KEEP_STATUS" ] ; then
echo "Reset status to $KEEP_STATUS"
purple-remote setstatus?status=$KEEP_STATUS
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.