SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#376 2012-01-29 18:05:07

barrybarrykelly
Member
Registered: 2012-01-25
Posts: 34

Re: Conky v1.9 Thread

eval $(xwininfo -id $(xdotool search --name music_conky) |
    sed -n -e "s/^ \+Absolute upper-left X: \+\([0-9]\+\).*/x=\1/p" \
           -e "s/^ \+Absolute upper-left Y: \+\([0-9]\+\).*/y=\1/p" \
           -e "s/^ \+Width: \+\([0-9]\+\).*/w=\1/p" \
           -e "s/^ \+Height: \+\([0-9]\+\).*/h=\1/p" )
  echo "$x $y

Offline

Be excellent to each other!

#377 2012-01-29 18:20:01

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

External IP: ${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

Offline

#378 2012-01-29 18:21:38

joypunk
Member
Registered: 2012-01-27
Posts: 27

Re: Conky v1.9 Thread

External IP: ${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

Offline

#379 2012-01-29 18:48:33

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

External IP: ${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

Offline

#380 2012-01-29 20:16:21

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#381 2012-01-29 20:28:07

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

The skills and development in this thread is at an incredible level.  It is amazing to see and sometimes hard to keep up with.

Well done everyone!

Offline

#382 2012-01-29 20:52:00

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

TEXT
${stippled_hr}
${color #FF4D00}$alignc VLC${color} ${hr 2}
${font Lucida Grande:size=7}\\
Artist: ${alignr}${execpi 300 ~/lua/vlc2conky.sh --artist}
Song: ${alignr}${execpi 300 ~/lua/vlc2conky.sh --title}
Album: ${alignr}${execpi 300 ~/lua/vlc2conky.sh --album}
Duration: ${alignr}${execpi 300 ~/lua/vlc2conky.sh --duration}
Genre: ${alignr}${execpi 300 ~/lua/vlc2conky.sh --genre}

Offline

#383 2012-01-29 20:53:29

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ Not a guru, but I do have it pulled down and testing it to see what is going on, trying to recreate the issue.

Offline

#384 2012-01-29 22:14:25

gmonti
#! CrunchBanger
From: Caracas, Venezuela
Registered: 2011-12-07
Posts: 108

Re: Conky v1.9 Thread

Last edited by gmonti (2012-01-29 22:31:27)


Giuliano Monti Avellino
Debian/Squeeze
Gnome

Offline

#385 2012-01-29 22:39:16

barrybarrykelly
Member
Registered: 2012-01-25
Posts: 34

Re: Conky v1.9 Thread

Offline

#386 2012-01-29 23:37:54

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Last edited by Sector11 (2012-01-29 23:38:13)

Offline

#387 2012-01-30 00:03:45

gmonti
#! CrunchBanger
From: Caracas, Venezuela
Registered: 2011-12-07
Posts: 108

Re: Conky v1.9 Thread


Giuliano Monti Avellino
Debian/Squeeze
Gnome

Offline

#388 2012-01-30 00:24:45

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Offline

#389 2012-01-30 15:12:13

Deegan
Member
From: Italy Varese
Registered: 2011-11-19
Posts: 36

Re: Conky v1.9 Thread

Last edited by Deegan (2012-01-30 15:28:24)

Offline

#390 2012-01-30 23:34:44

bartos
Member
Registered: 2011-12-20
Posts: 25

Re: Conky v1.9 Thread

Last edited by bartos (2012-01-31 01:30:44)


Geek by nature
Linux by choice.
Crunchbang by default

Offline

#391 2012-01-31 02:42:09

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: Conky v1.9 Thread

Offline

#392 2012-01-31 02:52:09

bartos
Member
Registered: 2011-12-20
Posts: 25

Re: Conky v1.9 Thread


Geek by nature
Linux by choice.
Crunchbang by default

Offline

#393 2012-02-01 00:54:03

sapristi
New Member
Registered: 2012-02-01
Posts: 3

Re: Conky v1.9 Thread

require "cairo"

conkypath = os.getenv("HOME").."/.conky"
funs = assert(loadfile(conkypath.."/functions.lua"))
conf = assert(loadfile(conkypath.."/applets/conf.lua"))

clock_applet = assert(loadfile(conkypath.."/applets/clock.lua"))
clock_text_applet = assert(loadfile(conkypath.."/applets/clock_text.lua"))
print(conkypath)
gauges_applet = assert(loadfile(conkypath.."/applets/gauges.lua"))

funs()
conf()
clock_applet()
clock_text_applet()
gauges_applet()



function conky_main()
   if conky_window==nil then return end
   local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
   local cr=cairo_create(cs)

   
   draw_clock(cr)
   draw_clock_text(cr, {x = 800})
   draw_system_gauge(cr, {x = 1200, y = 600,
              inner_max_radius = 70, surround_max_radius = 70, fontsize = 15,
              hwload_0 = Color(0.7, 0.7, 1, 0.8),hwload_1 = Color(1, 0.7, 0.7, 0.8)})
   draw_system_gauge2(cr,  {x = 1200, y = 400,hwload_1 = Color(1, 0.7, 0.7, 0.8)})
end

Last edited by sapristi (2012-02-01 01:40:13)

Offline

#394 2012-02-01 01:07:20

barrybarrykelly
Member
Registered: 2012-01-25
Posts: 34

Re: Conky v1.9 Thread

Last edited by barrybarrykelly (2012-02-01 01:10:36)

Offline

#395 2012-02-01 14:28:21

fortyseven
#! Die Hard
From: Sector 7G
Registered: 2011-12-23
Posts: 514

Re: Conky v1.9 Thread


on the outside looking in

Offline

#396 2012-02-01 15:10:51

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

draw_outline yes
draw_shades yes

Last edited by Sector11 (2012-02-01 15:18:34)

Offline

#397 2012-02-01 23:30:47

BaconStation
New Member
Registered: 2012-02-01
Posts: 4

Re: Conky v1.9 Thread

${voffset -6}MUSIC ${hr 2}
${if_running exaile}${voffset 6}${offset 0}${voffset 0}${font DotMatrix:size=18}${exec conkyExaile --datatype=PT} ${voffset 0}${font PizzaDude Bullets:size=10}BBBBB ${font} ${offset -65}${color 0778ec}${exec conkyExaile -n --datatype=RT --ratingchar=C}$color
${font DotMatrix:size=18:}${offset 0 font DotMatrix:size=18:}${scroll 15 1 ${exec conkyExaile --datatype=TI}} ${font}
${font DotMatrix:size=18:}${offset 0 font DotMatrix:size=18:}${scroll 15 1 ${exec conkyExaile --datatype=AR}} ${font}
${font DotMatrix:size=18:}${offset 0 font DotMatrix:size=18:}${scroll 15 1 ${exec conkyExaile --datatype=AL}} ${font}
${image ~/cover.jpg -p 0,2 -s 64x64}
${else}       ..:: Exaile not running ::..
${endif}
${voffset -12}${HR 2}

Offline

#398 2012-02-02 01:55:23

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky v1.9 Thread

^ Really cool Conky and Toy Story Theme...

I have looked the the scroll variable in Conky and see no options for speeding it up, but I will wait for others with more experience to confirm.

Offline

#399 2012-02-02 02:38:57

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

I have to agree with VastOne - no speed adjust for scroll.  Sorry!

Nice theme for your kids.

EDIT:

I tested with this:

all the stuff needed here
and

TEXT
${scroll 20 1 Scroll 'text' by 'step' characters showing 'length' number of characters at the same time. The text may also contain variables. 'step' is optional and defaults to 1 if not set. If a var creates output on multiple lines then the lines are placed behind each other separated with a '|'-sign. If you change the textcolor inside scroll it will automatically have it's old value back at the end of scroll. The end and the start of text will be separated by 'length' number of spaces.}

Last edited by Sector11 (2012-02-02 02:41:35)

Offline

Help fund CrunchBang, donate to the project!

#400 2012-02-02 03:10:25

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

would i be mistaken to say that if you want a faster scroll just increase step?
step is how many characters the text moves per cycle

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo