Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Conky bargraph.lua - progress track by the moc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kris
n00b
n00b


Joined: 12 Oct 2009
Posts: 29
Location: Thorn Polska

PostPosted: Fri May 15, 2015 3:38 pm    Post subject: Conky bargraph.lua - progress track by the moc Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum