#!/bin/bash
pidaudacious=$(pidof audacious)
audstat="$(audtool --playback-status)"
audtool --playback-paused
paused=$?
audtool --playback-playing
playing=$?

echo "PID Audacious : $pidaudacious" > /tmp/aud-status
echo "audstat : $audstat" >> /tmp/aud-status
echo "paused : $paused" >> /tmp/aud-status
echo "playing : $playing" >> /tmp/aud-status
