scripts/attic/caminfo.sh
2018-03-22 11:53:05 +01:00

9 lines
398 B
Bash
Executable file

#!/bin/bash
#if [ -a /tmp/xmms-info ]
# then cat /tmp/xmms-info | tail -n 2 | head -n 1 | sed -e s/Title:/Listening\ to:/ | sed -e s/ï/ï/ | sed -e s/ö/ö/ | sed -e s/à/a/ | sed -e s/ê/ê/ | sed -e s/é/é/ | sed -e s/è/è/ | sed -e s/ç/ç/ | sed -e s/°/o/ > /home/n/.caminfo
# else echo > /home/n/.caminfo
#fi
#echo > /home/n/.caminfo
/usr/local/bin/infopipe.pl > /home/n/.caminfo 2>/dev/null