kris n00b
Joined: 12 Oct 2009 Posts: 29 Location: Thorn Polska
|
Posted: Fri May 15, 2015 3:38 pm Post subject: Conky bargraph.lua - progress track by the moc |
|
|
Hello, everyone.
I have a question on how to "show" the progress of the current track being played by the moc player, in such a way as memory ram here of bargraph_small2.lua
Here is an excerpt of my file bargraph_small2.lua:
Code: | { --[ Graph for Memory ]--
name="memperc",
arg="mem",
max=100,
alarm=50,
alarm_colour={0xFF0000,0.72},
bg_colour={0xFFFFFF,0.25},
fg_colour={0x00FF00,0.55},
mid_colour={{0.45,0xFFFF00,0.70}},
x=8,y=396,
blocks=70,
space=1,
height=4.6,width=13,
angle=90,
smooth=true
}, |
Now I have the bar resulting from the write file conky.conf
Code: | ${voffset 11}${color 228B22}${execbar echo $((`mocp -Q %cs'*100/'%ts`))} |
How to use my bar configuration for this bargraph_small2.lua
Thanks! |
|