1. That'd take more usage than would be worth it.
2. From mine:
Code:
Power: ${color1}${battery_percent}%${color} | AC: ${color1}${acpiacadapter}${color}
3. No idea.
4. Yup.
5. No luck for the icons. But who wants icons on their desk anyways?
My conky coming soon.
Code:
+--XMMS
| |
| +--Status: ${execi 1 cat /tmp/xmms-info | grep Status: | cut -d ":" -f2}
| +--Artist: ${execi 1 xmmsctrl title | cut -d "-" -f1}
| +--Song : ${execi 1 xmmsctrl title | cut -d "-" -f2}
| +--Time : ${execi 1 xmmsctrl print %m%n} ( ${execi 1 xmmsctrl print %M%n})
Then put this script in some random folder:
Code:
#!/bin/bash
#This script is free to modify and distribute.
#Use at your own risk.
#Requirement: xmms-infopipe
#User Settings here
maxcol=35
file=/tmp/xmms-info
#Grab needed information
pos=`cat $file | grep uSecPosition: | cut -d : -f2`
len=`cat $file | grep uSecTime: | cut -d : -f2`
#Count the length in characters of the title
size=`echo $title | wc -c`
#Calculate current position within that length
poscol=$(echo "$pos*$maxcol/$len" | bc)
#Printing
for (( i=0; i<$maxcol; i++ ))
do
if [ $i -eq $poscol ]; then
echo -n 'O'
else
echo -n '='
fi
done
Then do
Code:
sudo apt-get install xmms-infopipe
Then under the xmms settings turn the info pipe on. You might have to make the script executable. If so:
Code:
sudo chmod 755 /PATH/TO/SCRIPT
Bookmarks