You are not logged in.
Thank you S11, but master I am not.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
Thank you S11, but master I am not.
Noooooooo! You're not! {pop} there goes that bubble!
Hey ... wait a sec ... that's 'my' opinion ... Behold the Interactive Conky Master; Falldown!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
HaHaHa.. I hope to get this conky done soon.. then I can whip up a generalized one for Fallen.
That will make 4 interactive conkys to choose from.
Last edited by falldown (2013-09-08 00:16:56)
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
@falldown that is really cool.
One question though, can those conky windows be made to open when a threshold value is reached - i.e. 25% mem - or are they strictly interactive?
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
@falldown that is really cool.
One question though, can those conky windows be made to open when a threshold value is reached - i.e. 25% mem - or are they strictly interactive?
Thank you.
They use the if value to open..
If sysbutton==1 then
*
output to display here when closed
*
elseif sysbutton==2 then
*
output to display here when opened
*
end--END BUTTON FUNCTION
So I would think that a % variable could be implemented in the if statement.
I am by no means a scripter, but I sure it can be done.
Last edited by falldown (2013-09-08 18:18:20)
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
Now that I think about it PackRat..
You could probably set up an if statement to accomplish this and keep the interactive function as well.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
And here it is semi-finished. Total of 8 Conky's running. The CPU is under duress due to manipulating my photo library in Shotwell. This also accounts for the high CPU temps! Thanks to Sector11, mrpeachy, wlourf and I know I'm missing someone! Sorry for that, it's late! Thanks to VastOne for the awesome gmusicbrowser work he does!
It's a little cluttered right now, but it is displaying about all the info I'd ever need to keep track of. Conky can be really useful!!! The tint2 bar will be updated to remove the clock and replace it with a launcher bar when I get a little sleep.
And here's the scrot;
http://www.zimagez.com/miniature/screenshot-07042013-033506am.png
I was searchin and searching and I find it few pages ago...
@ Jed; I'd like to use your horizontal conky config with bars.Do you still have this one and can you post it please ?
I'd like to change my background which is awlays to "heavy"... Thanks by advance
Offline
nasa changed a lot within their rss-files (image of the day). the rss-file contains several 'image-names'. the first match (first path) is the actual image of the day.
is it possible to grab the first image? i tried this:
function get_image()
local uri='http://www.nasa.gov/rss/dyn/image_of_the_day.rss' -- url of the rss-file
local f = assert(io.popen('curl -s --max-time 60 --compressed '..uri, 'r'))
local s = assert(f:read('*a'))
f:close()
s, f = string.gsub(s, ".*image\/jpeg.*(http://.*\.jpg).*", "%1")
return s
end
unfortunately it won't work
Offline
Offline
Hi all !
I had an idea...
Combined 2 pictures and make great new ideas conky configs.
Reducing the world map and include it in the middle of the "board" picture...
world_map:
http://s23.postimg.org/tdv05hsmv/glowing_world_map_blue.jpg
board:
http://s9.postimg.org/rmpniseh7/board.jpg
The idea is there but no time to work on it... as soon as possible
if you want combine this two images, it's easier with gimp, why did you want do that with conky ?
Offline
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
@Sector11--> I'm
Thank-you very much Amazing! it's exactly what I wanted !
The idea is to use the font "cirlethings2" (a way to display dots) to mark places of differents cities and display the times of them with playing tzdata and conky, like that:
Example
Zürich:${alignc}${font arial:size=12}${time %H:%M:%S}${font}
Paris: ${alignc}${font arial:size=12}${tztime Europe/Paris %H:%M:%S}${font}
NY: ${alignc}${font arial:size=12}${tztime America/New_York %H:%M:%S}${font}
LA: ${alignc}${font arial:size=12}${tztime America/Los_Angeles %H:%M:%S}${font}....
Then find places on the "board" for other conkys...
Last edited by ragamatrix (2013-09-10 07:03:59)
Offline
Offline
I played with that as well ragamatrix ... I had the wallpapers ... combined them, per your query and created this:
Thanks kindly for the idea ragamatrix!
City colours change depending on which day they are on.
/media/5/Conky/ragamatrix_Map/Map_Time.conky
# killall conky && conky -c /media/5/Conky/ragamatrix_Map/Map_Time.conky &
# From and idea started by ragamatrix
# http://crunchbang.org/forums/viewtopic.php?pid=331813#p331813
### Begin Window Settings ##################################################
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title S11
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0
minimum_size 620 420 ## width, height
maximum_width 620 ## width
gap_x 0 # left-right
gap_y 10 # up-down
alignment middle_middle
################################################### End Window Settings ###
### Font Settings #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monofur:bold:size=10
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000
draw_outline no # amplifies text if yes
default_outline_color 000000
#default_color DCDCDC #220 220 220 Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143 DarkSeaGreen
color1 778899 #119 136 153 LightSlateGray
color2 D8BFD8 #216 191 216 Thistle
color3 9ACD32 #154 205 50 YellowGreen
color4 FFA07A #255 160 122 LightSalmon
color5 FFDEAD #255 222 173 NavajoWhite
color6 00BFFF # 0 191 255 DeepSkyBlue
color7 5F9EA0 # 95 158 160 CadetBlue
color8 BDB76B #189 183 107 DarkKhaki
color9 CD5C5C #205 92 92 IndianRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 4
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 256
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
############################################## End Miscellaneous Section ###
update_interval 1
TEXT
${tztime America/Anchorage %a %d %b %Y}${goto 298}${color1}Seconds${color}${goto 500}${color6}${tztime NZ %a %d %b %Y}${color}
${alignc}${color1}${time :%S}${color}
${voffset 10}${goto 300}${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}Longyearbyen${color}${else}Longyearbyen${endif}${voffset -10}
${voffset 10}${goto 185}${if_match ${tztime Canada/Eastern %d} == ${tztime NZ %d}}${color6}° Alert ${tztime Canada/Eastern %R}${color}${else}° Alert ${tztime Canada/Eastern %R}${endif}${voffset 3} ${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}° ${tztime Arctic/Longyearbyen %R}${color}${else}° ${tztime Arctic/Longyearbyen %R}${endif}${voffset -3}
${goto 240} ${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6} ${tztime Atlantic/Reykjavik %R}${color}${else} ${tztime Atlantic/Reykjavik %R}${endif}
${goto 240}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6}° Reykjavik${color}${else}° Reykjavik${endif}
${voffset -3}${goto 45}${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6} Anchorage${color}${else} Anchorage${endif}${voffset 3}
${voffset -3}${goto 45}° ${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6}${tztime America/Anchorage %R}${color}${else}${tztime America/Anchorage %R}${endif}${voffset 3}${goto 270}${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}° London ${tztime UTC %R}${color}${else}° London ${tztime UTC %R}${endif}
${goto 275}${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}° Paris ${tztime Europe/Paris %R}${color}${else}° Paris ${tztime Europe/Paris %R}${endif}
${voffset -7}${goto 095}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}° Vancouver${color}${else}° Vancouver${endif}${goto 200}${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}° St. John's${color}${else}° St. John's${endif}${voffset -5}
${voffset 2}${goto 095} ${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}${tztime Canada/Pacific %R}${color}${else}${tztime Canada/Pacific %R}${endif}${voffset -2}${voffset 5}${goto 200} ${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}${tztime Canada/Newfoundland %R}${color}${else}${tztime Canada/Newfoundland %R}${endif}${voffset -5}${voffset 4}${goto 492}${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}° Tokyo ${tztime Asia/Tokyo %R}${color}${else}° Tokyo ${tztime Asia/Tokyo %R}${endif}${voffset -4}
${voffset -2}${goto 158}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}° Miami ${tztime US/Eastern %R}${color}${else}° Miami ${tztime US/Eastern %R}${endif}\
${voffset 3}${goto 325}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}New Delhi °${color}${else}New Delhi °${endif}${voffset -3}\
${goto 448}${if_match ${tztime Hongkong %d} == ${tztime NZ %d}}${color6}° Hong Kong ${tztime Hongkong %R}${color}${else}° Hong Kong ${tztime Hongkong %R}${endif}
${voffset 4}${goto 140}${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}° Mexico ${tztime America/Mexico_City %R}${color}${else}° Mexico ${tztime America/Mexico_City %R}${endif}${voffset -4}\
${voffset 3}${goto 355}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}${tztime GMT-5:30 %R}${color}${else}${tztime GMT-5:30 %R}${endif}${voffset -3}
${goto 434}${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}° Singapore ${tztime Asia/Singapore %R}${color}${else}° Singapore ${tztime Asia/Singapore %R}${endif}
${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}° Darwin${color}${else}° Darwin${endif}${voffset 3}
${voffset 4}${goto 305}${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}° Cape Town ${tztime Africa/Johannesburg %R}${color}${else}° Cape Town ${tztime Africa/Johannesburg %R}${endif}${voffset -4}${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}${tztime Australia/Darwin %R}${color}${else}${tztime Australia/Darwin %R}${endif}${voffset 3}
${voffset -2}${goto 188}${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}° Buenos Aires ${tztime America/Buenos_Aires %R}${color}${else}° Buenos Aires ${tztime America/Buenos_Aires %R}${endif}${voffset 2}${voffset 5}${goto 560}${color6}°${color}
${goto 488}${color6}Christchurch${color}
${goto 538}${color6}${tztime NZ %R}${color}${voffset 2}${goto 171}${if_match ${tztime America/Argentina/Ushuaia %d} == ${tztime NZ %d}}${color6}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${color}${else}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${endif}${voffset 2}
Working on a full screen one now:
red entry is to remind me it's not configured to change colours on day changes.
Last edited by Sector11 (2013-09-12 22:50:46)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
@ S11 & ragamatrix Very cool ideal you two!!
Can't wait to see the finished product.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
I played with that as well ragamatrix ... I had the wallpapers ... combined them, per your query and created this:
http://s20.postimg.org/eisla68eh/2013_09_11_17_22_32_1920x1080_Sector11.jpg
Thanks kindly for the idea ragamatrix!
City colours change depending on which day they are on.
/media/5/Conky/ragamatrix_Map/Map_Time.conky
# killall conky && conky -c /media/5/Conky/ragamatrix_Map/Map_Time.conky & # From and idea started by ragamatrix # http://crunchbang.org/forums/viewtopic.php?pid=331813#p331813 ### Begin Window Settings ################################################## own_window yes own_window_type normal #override own_window_transparent yes own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky own_window_colour 000000 own_window_class Conky own_window_title S11 # Use the Xdbe extension? (eliminates flicker) # It is highly recommended to use own window with this one # so double buffer won't be so big. double_buffer yes ### ARGB can be used for real transparency ### NOTE that a composite manager is required for real transparency. ### This option will not work as desired (in most cases) in conjunction with ### own_window_type normal # own_window_argb_visual yes ### When ARGB visuals are enabled, this use this to modify the alpha value ### Use: own_window_type normal ### Use: own_window_transparent no ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity. # own_window_argb_value 0 minimum_size 620 420 ## width, height maximum_width 620 ## width gap_x 0 # left-right gap_y 10 # up-down alignment middle_middle ################################################### End Window Settings ### ### Font Settings ######################################################### # Use Xft (anti-aliased font and stuff) use_xft yes xftfont Monofur:bold:size=10 # Alpha of Xft font. Must be a value at or between 1 and 0 ### xftalpha 1 # Force UTF8? requires XFT ### override_utf8_locale yes uppercase no ###################################################### End Font Settings ### ### Color Settings ######################################################### draw_shades yes #no # amplifies text if yes default_shade_color 000000 draw_outline no # amplifies text if yes default_outline_color 000000 #default_color DCDCDC #220 220 220 Gainsboro #default_color C0C0C0 #192 192 192 Silver default_color B0E0E6 #176 224 230 PowderBlue color0 8FBC8F #143 188 143 DarkSeaGreen color1 778899 #119 136 153 LightSlateGray color2 D8BFD8 #216 191 216 Thistle color3 9ACD32 #154 205 50 YellowGreen color4 FFA07A #255 160 122 LightSalmon color5 FFDEAD #255 222 173 NavajoWhite color6 00BFFF # 0 191 255 DeepSkyBlue color7 5F9EA0 # 95 158 160 CadetBlue color8 BDB76B #189 183 107 DarkKhaki color9 CD5C5C #205 92 92 IndianRed ##################################################### End Color Settings ### ### Borders Section ######################################################## draw_borders no # Stippled borders? stippled_borders 0 # border margins border_inner_margin 4 border_outer_margin 0 # border width border_width 0 # graph borders draw_graph_borders no #yes #default_graph_size 15 40 ##################################################### End Borders Secton ### ### Miscellaneous Section ################################################## # Boolean value, if true, Conky will be forked to background when started. background no # Adds spaces around certain objects to stop them from moving other things # around, this only helps if you are using a mono font # Options: right, left or none use_spacer none # Default and Minimum size is 256 - needs more for single commands that # "call" a lot of text IE: bash scripts #text_buffer_size 256 # Subtract (file system) buffers from used memory? no_buffers yes # change GiB to G and MiB to M short_units yes # Like it says, ot pads the decimals on % values # doesn't seem to work since v1.7.1 pad_percents 2 # Maximum size of user text buffer, i.e. layout below TEXT line in config file # (default is 16384 bytes) # max_user_text 16384 # Desired output unit of all objects displaying a temperature. Parameters are # either "fahrenheit" or "celsius". The default unit is degree Celsius. # temperature_unit Fahrenheit ############################################## End Miscellaneous Section ### update_interval 1 TEXT ${tztime America/Anchorage %a %d %b %Y}${goto 298}${color1}Seconds${color}${goto 500}${color6}${tztime NZ %a %d %b %Y}${color} ${alignc}${color1}${time :%S}${color} ${voffset 10}${goto 300}${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}Longyearbyen${color}${else}Longyearbyen${endif}${voffset -10} ${voffset 10}${goto 185}${if_match ${tztime Canada/Eastern %d} == ${tztime NZ %d}}${color6}° Alert ${tztime Canada/Eastern %R}${color}${else}° Alert ${tztime Canada/Eastern %R}${endif}${voffset 3} ${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}° ${tztime Arctic/Longyearbyen %R}${color}${else}° ${tztime Arctic/Longyearbyen %R}${endif}${voffset -3} ${goto 240} ${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6} ${tztime Atlantic/Reykjavik %R}${color}${else} ${tztime Atlantic/Reykjavik %R}${endif} ${goto 240}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6}° Reykjavik${color}${else}° Reykjavik${endif} ${voffset -3}${goto 45}${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6} Anchorage${color}${else} Anchorage${endif}${voffset 3} ${voffset -3}${goto 45}° ${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6}${tztime America/Anchorage %R}${color}${else}${tztime America/Anchorage %R}${endif}${voffset 3}${goto 270}${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}° London ${tztime UTC %R}${color}${else}° London ${tztime UTC %R}${endif} ${goto 275}${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}° Paris ${tztime Europe/Paris %R}${color}${else}° Paris ${tztime Europe/Paris %R}${endif} ${voffset -7}${goto 095}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}° Vancouver${color}${else}° Vancouver${endif}${goto 200}${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}° St. John's${color}${else}° St. John's${endif}${voffset -5} ${voffset 2}${goto 095} ${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}${tztime Canada/Pacific %R}${color}${else}${tztime Canada/Pacific %R}${endif}${voffset -2}${voffset 5}${goto 200} ${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}${tztime Canada/Newfoundland %R}${color}${else}${tztime Canada/Newfoundland %R}${endif}${voffset -5}${voffset 4}${goto 492}${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}° Tokyo ${tztime Asia/Tokyo %R}${color}${else}° Tokyo ${tztime Asia/Tokyo %R}${endif}${voffset -4} ${voffset -2}${goto 158}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}° Miami ${tztime US/Eastern %R}${color}${else}° Miami ${tztime US/Eastern %R}${endif}\ ${voffset 3}${goto 325}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}New Delhi °${color}${else}New Delhi °${endif}${voffset -3}\ ${goto 448}${if_match ${tztime Hongkong %d} == ${tztime NZ %d}}${color6}° Hong Kong ${tztime Hongkong %R}${color}${else}° Hong Kong ${tztime Hongkong %R}${endif} ${voffset 4}${goto 140}${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}° Mexico ${tztime America/Mexico_City %R}${color}${else}° Mexico ${tztime America/Mexico_City %R}${endif}${voffset -4}\ ${voffset 3}${goto 355}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}${tztime GMT-5:30 %R}${color}${else}${tztime GMT-5:30 %R}${endif}${voffset -3} ${goto 434}${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}° Singapore ${tztime Asia/Singapore %R}${color}${else}° Singapore ${tztime Asia/Singapore %R}${endif} ${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}° Darwin${color}${else}° Darwin${endif}${voffset 3} ${voffset 4}${goto 305}${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}° Cape Town ${tztime Africa/Johannesburg %R}${color}${else}° Cape Town ${tztime Africa/Johannesburg %R}${endif}${voffset -4}${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}${tztime Australia/Darwin %R}${color}${else}${tztime Australia/Darwin %R}${endif}${voffset 3} ${voffset -2}${goto 188}${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}° Buenos Aires ${tztime America/Buenos_Aires %R}${color}${else}° Buenos Aires ${tztime America/Buenos_Aires %R}${endif}${voffset 2}${voffset 5}${goto 560}${color6}°${color} ${goto 488}${color6}Christchurch${color} ${goto 538}${color6}${tztime NZ %R}${color}${voffset 2}${goto 171}${if_match ${tztime America/Argentina/Ushuaia %d} == ${tztime NZ %d}}${color6}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${color}${else}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${endif}${voffset 2}
Working on a full screen one now:
http://s20.postimg.org/4itjzwop5/2013_09_12_19_47_17_1920x1080_Sector11.jpg
red entry is to remind me it's not configured to change colours on day changes.
OOhh Yeah You rock ! This map is beautiful
Big thanks too for your clean codes
Offline
nasa changed a lot within their rss-files (image of the day). the rss-file contains several 'image-names'. the first match (first path) is the actual image of the day.
is it possible to grab the first image? i tried this:
function get_image() local uri='http://www.nasa.gov/rss/dyn/image_of_the_day.rss' -- url of the rss-file local f = assert(io.popen('curl -s --max-time 60 --compressed '..uri, 'r')) local s = assert(f:read('*a')) f:close() s, f = string.gsub(s, ".*image\/jpeg.*(http://.*\.jpg).*", "%1") return s end
unfortunately it won't work
use this
function get_image()
local uri="http://www.nasa.gov/rss/dyn/image_of_the_day.rss"
local f=assert(io.popen("curl -s --max-time 60 --compressed "..uri, 'r'))
local s=assert(f:read("*a"))
f:close()
local ss, uri = nil
for ss in string.gmatch(s, "%b\"\"") do
uri = ss:match(".-(http.-\.jpg).-")
if uri then break end
end
return uri
end
ps: reduced one loop after some thinking
Last edited by dk75 (2013-09-13 13:07:53)
Debian Sid (Minted) x86_64/3.12-10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
Linux user No.: 483055 | Conky Pitstop
Offline
@ S11 & ragamatrix Very cool ideal you two!!
Can't wait to see the finished product.
Thanks ... ragamatrix's idea ... I'm just playing with it.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
falldown wrote:@ S11 & ragamatrix Very cool ideal you two!!
Can't wait to see the finished product.Thanks ... ragamatrix's idea ... I'm just playing with it.
I like team work ! Thanks
Offline
@PackRat
Here's a place where you can find the code for horizontal conky system and mail with lua bars...
#post36
Offline
^ thanks -
@Sector11 - can you please hook me up with a link to that earth tone map with the drop shadows.
back on track - break up the bling fest with a simple one-liner conky in bspwm 8o
conkyrc
use_xft yes
xftfont Sans:bold:pixelsize=11
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type desktop
own_window_colour 0A0A0A
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1600 2
maximum_width 1600
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color
default_shade_color red
default_outline_color green
alignment top_left
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer none
color0 ffffff
color1 000000
color2 red
color3 yellow
color4 blue
color5 green
color6 orange
color7 00BFFF
color8 FFFF00
color9 F40E0E
TEXT
${goto 24}${color d2cbb9}${if_match ${desktop}==1}${color 00BFFF}1${else}${color d2cbb9}1${endif}${offset 6}${if_match ${desktop}==2}${color 00BFFF}2${else}${color d2cbb9}2${endif}${offset 6}${if_match ${desktop}==3}${color 00BFFF}3${else}${color d2cbb9}3${endif}${offset 6}${if_match ${desktop}==4}${color 00BFFF}4${else}${color d2cbb9}4${endif}${color}${offset 20}\
${goto 100}${color d2cbb9}Uptime:${offset 8}${uptime_short}${offset 24}*${offset 24}\
${color d2cbb9}Sdc:${offset 8}${if_match ${execpi 60 /usr/bin/hddtemp -n /dev/sdc}<=50}${color7}${else}${if_match ${execpi 60 /usr/bin/hddtemp -n /dev/sdc}<=70}${color8}${else}${if_match ${execpi 60 /usr/bin/hddtemp -n /dev/sdc}>70}${color9}${endif}${endif}${endif}${execpi 60 /usr/bin/hddtemp -n /dev/sdc}°C${color}${offset 24}*${offset 24}\
${color d2cbb9}CPU:${offset 8}${if_match ${execpi 60 ~/conky/cputempc.sh}<=50}${color7}${else}${if_match ${execpi 60 ~/conky/cputempc.sh}<=70}${color8}${else}${if_match ${execpi 60 ~/conky/cputempc.sh}>70}${color9}${endif}${endif}${endif}${execpi 60 ~/conky/cputempc.sh} °C${color}${offset 24}*${offset 24}\
${color d2cbb9}CPU:${offset 8}${if_match ${cpu cpu0}<=50}${color7}${else}${if_match ${cpu cpu0}<=70}${color8}${else}${if_match ${cpu cpu0}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}${offset 12}\
${color d2cbb9}${loadavg 1}${offset 8}${loadavg 2}${offset 8}${loadavg 3}${offset 24}*${offset 24}\
${color d2cbb9}Mem:${offset 8}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}$memperc%${color}${offset 24}*${offset 24}\
${color d2cbb9}Eth0:${offset 24}Down:${offset 8}${downspeedf eth0} kb/s${offset 24}*${offset 24}Up:${offset 8}${upspeedf eth0} kb/s${offset 24}*${offset 24}Download:${offset 8}${totaldown eth0}${offset 24}*${offset 24}Upload:${offset 8}${totalup eth0}\
${color d2cbb9}${goto 1500}${color d2cbb9}${time %b %e}${offset 8}${time %k:%M}
Last edited by PackRat (2013-09-13 14:55:27)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
@Sector11 - can you please hook me up with a link to that earth tone map with the drop shadows.
Sure ...grunge-world-map scroll down. Can't miss it.
Last edited by Sector11 (2013-09-16 14:39:19)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
@PackRat
Here's a place where you can find the code for horizontal conky system and mail with lua bars...![]()
#post36
^^ that's the page ... this is post 36
@ ragamatrix: Aujourd'hui 10:53:59
Cliquez sur le temps pour recevoir un lien direct. Teamwork!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
thanks to a lot of help from PackRat and Inodoro Pereyra here is mine
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
update_interval 4.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 0
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 5
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
TEXT
UPTIME:$alignr$uptime
Battery: ${offset 8}${execpi 60 acpi -b | awk '{print $3}' | cut -c1-4}${offset 8}${if_match ${battery_percent BAT1}<=15}${color FFFF00}${blink ${battery_percent BAT1}%}${color}${else}${if_match ${battery_percent BAT1}<=33}${color FFA500}${battery_percent BAT1}%${else}${if_match ${battery_percent BAT1}>33}${color7}${battery_percent BAT1}%${endif}${endif}${endif}${color}
CPU $alignr ${cpu cpu0}%
MEM $alignc $mem / $memmax $alignr $memperc%
HDD $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
$processes processes ($running_processes running)
NAME $alignr PID CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
Inbound $alignr ${downspeed wlp3s0} kb/s
Total Down $alignr ${totaldown wlp3s0}
Outbound $alignr ${upspeed wlp3s0} kb/s
Total up $alignr ${totalup wlp3s0}
temp $alignr ${execi 20 sensors | awk '/temp1/ {gsub(/\+/,"",$2); gsub(/\..+/,"",$3); print $2}'}
Offline
OK a little further back ragamatrix started me on something ... the Time Map.
I have expanded it to a full screen (1920x1080) exercise ... the idea for me was to try and keep everything "horizontal" when obviously ${voffset}'s would be needed ... so it hit me ...
if I was going to have text on line 26 that needed a + vertical offset why not use a - vertical off set directly after that command to keep things in line ...
Hense "Using Voffsets Effectively"
Here is the full screen world time map conky near the end of the under construction stage. NOTE the numbers down the side. They sit to the left of any conky command same as the images above:
Bottom left is CPU usage with the conky running 52 cities with ${if_match} statements, medit and my tint2 systray
This is the completed conky taken at 16:65 BsAS time - note the cities that have crossed over to Sunday:
And here it is a little while ago.
The background: grunge-world-map - scroll down to: wmonkey.org
Map_Time_LG.conky
# killall conky && conky -c /media/5/Conky/ragamatrix_Map/Map_Time_LG.conky &
# From and idea started by ragamatrix
# http://crunchbang.org/forums/viewtopic.php?pid=331813#p331813
# grunge_earth_scratches.jpg
### Begin Window Settings ##################################################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0
minimum_size 1780 940 ## width, height
maximum_width 1780 ## width
gap_x 120 # left-right
gap_y 80 # up-down
alignment tl
################################################### End Window Settings ###
### Font Settings #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monofur:bold:size=11
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000
draw_outline no # amplifies text if yes
default_outline_color 000000
default_color DCDCDC #220 220 220 Gainsboro
color0 8FBC8F #143 188 143 DarkSeaGreen
color1 778899 #119 136 153 LightSlateGray
color2 D8BFD8 #216 191 216 Thistle
color3 9ACD32 #154 205 50 YellowGreen
color4 FFA07A #255 160 122 LightSalmon
color5 FFDEAD #255 222 173 NavajoWhite
color6 00BFFF # 0 191 255 DeepSkyBlue
color7 5F9EA0 # 95 158 160 CadetBlue
color8 BDB76B #189 183 107 DarkKhaki
color9 CD5C5C #205 92 92 IndianRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 4
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 256
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
############################################## End Miscellaneous Section ###
lua_load /media/5/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.1
update_interval 1
TEXT
${goto 635}${tztime America/Anchorage %a %d %b %Y} ${color1}Seconds: ${time %S}${color6} ${tztime NZ %a %d %b %Y}${color}
${voffset -3}${goto 530}${if_match ${tztime Canada/Eastern %d} == ${tztime NZ %d}}${color6}° Alert ${tztime Canada/Eastern %R}${color}${else}° Alert ${tztime Canada/Eastern %R}${endif}${voffset 3}
${goto 880}${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}° Longyearbyen ${tztime Arctic/Longyearbyen %R}${color}${else}° Longyearbyen ${tztime Arctic/Longyearbyen %R}${endif}
${goto 573}${if_match ${tztime America/Godthab %d} == ${tztime NZ %d}}${color6}° Nuuk ${tztime America/Godthab %R}${color}${else}° Nuuk ${tztime America/Godthab %R}${endif}\
${goto 710}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6}° Reykjavik ${tztime Atlantic/Reykjavik %R}${color}${else}° Reykjavik ${tztime Atlantic/Reykjavik %R}${endif}
${voffset 5}${goto 130}${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6}° Anchorage ${tztime America/Anchorage %R}${color}${else}° Anchorage ${tztime America/Anchorage %R}${endif}${voffset -5}\
${voffset -10}${goto 290}${if_match ${tztime America/Yellowknife %d} == ${tztime NZ %d}}${color6}° Yellowknife ${tztime America/Yellowknife %R}${color}${else}° Yellowknife ${tztime America/Yellowknife %R}${endif}${voffset 10}\
${voffset 12}${goto 783}${if_match ${tztime Europe/Oslo %d} == ${tztime NZ %d}}${color6}Oslo ${tztime Europe/Oslo %R} °${color}${else}Oslo ${tztime Europe/Oslo %R} °${endif}${voffset -12}
${goto 890}${if_match ${tztime Europe/Stockholm %d} == ${tztime NZ %d}}${color6}° Stockholm ${tztime Europe/Stockholm %R}${color}${else}° Stockholm ${tztime Europe/Stockholm %R}${endif}
${voffset -5}${goto 382}${if_match ${tztime America/Churchill %d} == ${tztime NZ %d}}${color6}° Churchill ${tztime America/Churchill %R}${color}${else}° Churchill ${tztime America/Churchill %R}${endif}${voffset 5}
${voffset -5}${goto 865}${if_match ${tztime Europe/Copenhagen %d} == ${tztime NZ %d}}${color6}° Copenhagen ${tztime Europe/Copenhagen %R}${color}${else}° Copenhagen ${tztime Europe/Copenhagen %R}${endif}${voffset 5}
${goto 290}${if_match ${tztime America/Edmonton %d} == ${tztime NZ %d}}${color6}° Edmonton ${tztime America/Edmonton %R}${color}${else}° Edmonton ${tztime America/Edmonton %R}${endif}\
${goto 535}${if_match ${tztime America/Goose_Bay %d} == ${tztime NZ %d}}${color6}° Goose Bay ${tztime America/Goose_Bay %R}${color}${else}° Goose Bay ${tztime America/Goose_Bay %R}${endif}
${voffset 12}${goto 367}${if_match ${tztime America/Winnipeg %d} == ${tztime NZ %d}}${color6}° Winnipeg ${tztime America/Winnipeg %R}${color}${else}° Winnipeg ${tztime America/Winnipeg %R}${endif}${voffset -12}${voffset -5}${goto 718}${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}London ${tztime UTC %R} °${color}${else}London ${tztime UTC %R} °${endif}${voffset 5}
${voffset 2}${goto 140}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}Vancouver ${tztime Canada/Pacific %R} °${color}${else}Vancouver ${tztime Canada/Pacific %R} °${endif}${voffset -2}\
${goto 820}${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}° Paris ${tztime Europe/Paris %R}${color}${else}° Paris ${tztime Europe/Paris %R}${endif}
${voffset -1}${goto 567}${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}° St. John's ${tztime Canada/Newfoundland %R}${color}${else}° St. John's ${tztime Canada/Newfoundland %R}${endif}${voffset 1}
${goto 395}${if_match ${tztime America/Toronto %d} == ${tztime NZ %d}}${color6}Toronto ° ${tztime America/Toronto %R}${color}${else}Toronto ° ${tztime America/Toronto %R}${endif}${voffset -5}\
${goto 520}${if_match ${tztime America/Halifax %d} == ${tztime NZ %d}}${color6}° Halifax${color}${else}° Halifax${endif}${voffset 5}
${voffset -5}${goto 520}${if_match ${tztime America/Halifax %d} == ${tztime NZ %d}}${color6} ${tztime America/Halifax %R}${color}${else} ${tztime America/Halifax %R}${endif}${voffset 5}\
${voffset -5}${goto 865}${if_match ${tztime Europe/Rome %d} == ${tztime NZ %d}}${color6}° Rome ${tztime Europe/Rome %R}${color}${else}° Rome ${tztime Europe/Rome %R}${endif}${voffset 5}
${voffset -3}${goto 468}${if_match ${tztime America/New_York %d} == ${tztime NZ %d}}${color6}° New York ${tztime America/New_York %R}${color}${else}° New York ${tztime America/New_York %R}${endif}${voffset 3}\
${voffset -8}${goto 790}${if_match ${tztime Europe/Madrid %d} == ${tztime NZ %d}}${color6}° Madrid ${tztime Europe/Madrid %R}${color}${else}° Madrid ${tztime Europe/Madrid %R}${endif}${voffset 8}
${voffset -10}${goto 915}${if_match ${tztime Europe/Athens %d} == ${tztime NZ %d}}${color6}° Athens ${tztime Europe/Athens %R}${color}${else}° Athens ${tztime Europe/Athens %R}${endif}${voffset 10}
${goto 270}${if_match ${tztime America/Los_Angeles %d} == ${tztime NZ %d}}${color6}° Los Angeles ${tztime America/Los_Angeles %R}${color}${else}° Los Angeles ${tztime America/Los_Angeles %R}${endif}${voffset -10}\
${goto 1448}${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}° Tokyo ${tztime Asia/Tokyo %R}${color}${else}° Tokyo ${tztime Asia/Tokyo %R}${endif}${voffset 10}
${voffset 5}${goto 953}${if_match ${tztime Africa/Cairo %d} == ${tztime NZ %d}}${color6}° Cairo ${tztime Africa/Cairo %R}${color}${else}° Cairo ${tztime Africa/Cairo %R}${endif}${voffset -5}\
${goto 1366}${if_match ${tztime Asia/Shanghai %d} == ${tztime NZ %d}}${color6}° Shanghai ${tztime Asia/Shanghai %R}${color}${else}° Shanghai ${tztime Asia/Shanghai %R}${endif}
${goto 1170}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}° New Delhi ${tztime GMT-5:30 %R}${color}${else}° New Delhi ${tztime GMT-5:30 %R}${endif}
${goto 440}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}° Miami ${tztime US/Eastern %R}${color}${else}° Miami ${tztime US/Eastern %R}${endif}\
${goto 1065}${if_match ${tztime Africa/Djibouti %d} == ${tztime NZ %d}}${color6}° Djibouti ${tztime Africa/Djibouti %R}${color}${else}° Djibouti ${tztime Africa/Djibouti %R}${endif}
${goto 435}${if_match ${tztime America/Havana %d} == ${tztime NZ %d}}${color6}° Havana ${tztime America/Havana %R}${color}${else}° Havana ${tztime America/Havana %R}${endif}\
${goto 1328}${if_match ${tztime Hongkong %d} == ${tztime NZ %d}}${color6}° Hong Kong ${tztime Hongkong %R}${color}${else}° Hong Kong ${tztime Hongkong %R}${endif}
${goto 260}${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}Mexico ${tztime America/Mexico_City %R} °${color}${else}Mexico ${tztime America/Mexico_City %R} °${endif}
${voffset -3}${goto 735}${if_match ${tztime Africa/Dakar %d} == ${tztime NZ %d}}${color6}° Dakar ${tztime Africa/Dakar %R}${color}${else}° Dakar ${tztime Africa/Dakar %R}${endif}${voffset 3}
${goto 880}${voffset 11}${if_match ${tztime Africa/Ndjamena %d} == ${tztime NZ %d}}${color6}° N'Djamena ${tztime Africa/Ndjamena %R}${color}${else}° N'Djamena ${tztime Africa/Ndjamena %R}${endif}${voffset -11}
${voffset 5}${goto 500}${if_match ${tztime America/Caracas %d} == ${tztime NZ %d}}${color6}° Caracas ${tztime America/Caracas %R}${color}${else}° Caracas ${tztime America/Caracas %R}${endif}${voffset -5}${voffset -5}\
${goto 1005}${if_match ${tztime Africa/Djibouti %d} == ${tztime NZ %d}}${color6}° Djibouti ${tztime Africa/Djibouti %R}${color}${else}° Djibouti ${tztime Africa/Djibouti %R}${endif}${voffset 5}
${goto 1285}${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}° Singapore ${tztime Asia/Singapore %R}${color}${else}° Singapore ${tztime Asia/Singapore %R}${endif}
${goto 457}${if_match ${tztime America/Lima %d} == ${tztime NZ %d}}${color6}° Lima ${tztime America/Lima %R}${color}${else}° Lima ${tztime America/Lima %R}${endif}${voffset -5}\
${goto 1481}${if_match ${tztime Pacific/Port_Moresby %d} == ${tztime NZ %d}}${color6}° Port Moresby ${tztime Pacific/Port_Moresby %R}${color}${else}° Port Moresby ${tztime Pacific/Port_Moresby %R}${endif}${voffset 5}
${voffset -3}${goto 1407}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}° Darwin ${tztime Australia/Darwin %R}${color}${else}° Darwin ${tztime Australia/Darwin %R}${endif}${voffset 3}
${voffset 9}${goto 1620}${if_match ${tztime Pacific/Fiji %d} == ${tztime NZ %d}}${color6}° Suva ${tztime Pacific/Fiji %R}${color}${else}° Suva ${tztime Pacific/Fiji %R}${endif}${voffset -9}
${goto 1025}${if_match ${tztime Indian/Antananarivo %d} == ${tztime NZ %d}}${color6}° Antananarivo ${tztime Indian/Antananarivo %R}${color}${else}° Antananarivo ${tztime Indian/Antananarivo %R}${endif}
${goto 615}${if_match ${tztime Brazil/East %d} == ${tztime NZ %d}}${color6}° Rio de Janeiro ${tztime Brazil/East %R}${color}${else}° Rio de Janeiro ${tztime Brazil/East %R}${endif}
${voffset -2}${goto 1505}${if_match ${tztime Australia/Brisbane %d} == ${tztime NZ %d}}${color6}° Brisbane ${tztime Australia/Brisbane %R}${color}${else}° Brisbane ${tztime Australia/Brisbane %R}${endif}${voffset 2}
${goto 484}${if_match ${tztime Chile/Continental %d} == ${tztime NZ %d}}${color6}° Santiago ${tztime Chile/Continental %R}${color}${else}° Santiago ${tztime Chile/Continental %R}${endif}${voffset -3}\
${goto 1340}${if_match ${tztime Australia/Perth %d} == ${tztime NZ %d}}${color6}° Perth ${tztime Australia/Perth %R}${color}${else}° Perth ${tztime Australia/Perth %R}${endif}${voffset 3}
${goto 545}${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}° Buenos Aires ${tztime America/Buenos_Aires %R}${color}${else}° Buenos Aires ${tztime America/Buenos_Aires %R}${endif}\
${goto 895}${voffset -10}${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}° Cape Town ${tztime Africa/Johannesburg %R}${color}${else}° Cape Town ${tztime Africa/Johannesburg %R}${endif}${voffset 10}
${goto 1470}${if_match ${tztime Australia/Melbourne %d} == ${tztime NZ %d}}${color6}° Melborne ${tztime Australia/Melbourne %R}${color}${else}° Melborne ${tztime Australia/Melbourne %R}${endif}
${voffset 1}${goto 1596}${color6}° Christchurch ${tztime NZ %R}${color}${voffset -1}
${goto 500}${if_match ${tztime America/Argentina/Ushuaia %d} == ${tztime NZ %d}}${color6}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${color}${else}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${endif}
My thanks to ragamatrix for the idea.
Next: lest cities but with High/Low temperatures and Conditions text ... if the sight in mind stays constant with the cities displayed.
I was going to use: http://www.timeanddate.com/weather/ but the cities shown are not constant. Alert (top of the world) went from -10 to 25°C in an hour! I don't think so, it was dropped from the list on the next update and everything shifted.
Last edited by Sector11 (2013-09-16 14:45:30)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat