You are not logged in.
Here's an update - Just showing what is in the "Text section"
Which means: some assembly required!
Think I'll save it as "world.date.time.conky" and trim the window to fit better.
- - just because.
TEXT
${if_match ${tztime Pacific/Honolulu %d} == ${tztime NZ %d}}${color6}Honolulu ${tztime Pacific/Honolulu %d|%m %R}${else}Honolulu ${tztime Pacific/Honolulu %d|%m %R}${color}${endif}
${if_match ${tztime America/Vancouver %d} == ${tztime NZ %d}}${color6}Vancouver ${tztime America/Vancouver %d|%m %R}${else}Vancouver ${tztime America/Vancouver %d|%m %R}${color}${endif}
${if_match ${tztime America/Los_Angeles %d} == ${tztime NZ %d}}${color6}Los Angeles ${tztime America/Los_Angeles %d|%m %R}${else}Los Angeles ${tztime America/Los_Angeles %d|%m %R}${color}${endif}
${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}Mexico ${tztime America/Mexico_City %d|%m %R}${else}Mexico ${tztime America/Mexico_City %d|%m %R}${color}${endif}
${if_match ${tztime America/Martinique %d} == ${tztime NZ %d}}${color6}Martinique ${tztime America/Martinique %d|%m %R}${else}Martinique ${tztime America/Martinique %d|%m %R}${color}${endif}
${if_match ${tztime America/Chicago %d} == ${tztime NZ %d}}${color6}Chicago ${tztime America/Chicago %d|%m %R}${else}Chicago ${tztime America/Chicago %d|%m %R}${endif}
${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}Buenos Aires ${tztime America/Buenos_Aires %d|%m %R}${else}Buenos Aires ${tztime America/Buenos_Aires %d|%m %R}${color}${endif}
${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}Miami ${tztime US/Eastern %d|%m %R}${else}Miami ${tztime US/Eastern %d|%m %R}${endif}
${if_match ${tztime America/New_York %d} == ${tztime NZ %d}}${color6}New York ${tztime America/New_York %d|%m %R}${else}New York ${tztime America/New_York %d|%m %R}${color}${endif}
${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}London ${tztime UTC %d|%m %R}${else}London ${tztime UTC %d|%m %R}${color}${endif}
${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}Zürich ${tztime Europe/Paris %d|%m %R}${else}Zürich ${tztime Europe/Paris %d|%m %R}${color}${endif}
${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}Le Cap ${tztime Africa/Johannesburg %d|%m %R}${else}Le Cap ${tztime Africa/Johannesburg %d|%m %R}${color}${endif}
${if_match ${tztime Europe/Berlin %d} == ${tztime NZ %d}}${color6}Berlin ${tztime Europe/Berlin %d|%m %R}${else}Berlin ${tztime Europe/Berlin %d|%m %R}${color}${endif}
${if_match ${tztime Europe/Moscow %d} == ${tztime NZ %d}}${color6}Moscou ${tztime Europe/Moscow %d|%m %R}${else}Moscou ${tztime Europe/Moscow %d|%m %R}${color}${endif}
${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}Singapore ${tztime Asia/Singapore %d|%m %R}${else}Singapore ${tztime Asia/Singapore %d|%m %R}${color}${endif}
${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}Tokyo ${tztime Asia/Tokyo %d|%m %R}${else}Tokyo ${tztime Asia/Tokyo %d|%m %R}${color}${endif}
${if_match ${tztime Australia/Sydney %d} == ${tztime NZ %d}}${color6}Sydney ${tztime Australia/Sydney %d|%m %R}${else}Sydney ${tztime Australia/Sydney %d|%m %R}${color}${endif}
--------------------
Auckland ${tztime NZ %d|%m %R}${color}
The "comparison" stage (if_match) only uses "%d" where the display sections use: "%d|%m %R"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
And look what I found:
It uses the info seen above, (Date Time) but also has weather for the locations .. but the script, another one Teo did, is not working because the Hong Kong Observatory (HKO) changed their entire site.
~/bin/daylight.sh → useless - suppose to get the image with the night shadow moving across the earth. I had to log in and down load it manually.
/media/5/Conky/scripts/WTD/majorcities → useless - HKO
And as you see the cities are no longer in the right place. Unless Mexico (City) moved west into the Pacific and Miami into the Caribbean.
Took me almost two weeks to get things "just" right. what with the night shadow and clouds covering locations.
If ragamatrix thought the last one was a beast:
TEXT
${execi 86400 ~/bin/daylight.sh}\
${execi 86400 bash /media/5/Conky/scripts/WTD/majorcities}\
${image /media/5/Conky/images/world_1600.jpg}
${alignc}${tztime %a %d %b %Y} «--${color1}|${color6}--» ${tztime NZ %a %d %b %Y}${color}
${goto 925}+ ${if_match ${tztime Europe/Moscow %d} == ${tztime NZ %d}}${color6}Moskva ${tztime Europe/Moscow %R}${color}${else}Moskva ${tztime Europe/Moscow %R}${endif}
${goto 925}${color6}${execpi 1800 sed -n '218p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '219p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '220p' /media/5/Conky/scripts/WTD/MC_data}${color}
${goto 760}+ ${if_match ${tztime Europe/London %d} == ${tztime NZ %d}}${color6}London ${tztime Europe/London %R}${color}${else}London ${tztime Europe/London %R}${endif}
${goto 760}${color6}${execpi 1800 sed -n '206p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '207p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '208p' /media/5/Conky/scripts/WTD/MC_data}${color}\
${goto 85}${voffset 5}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}Vancouver ${tztime Canada/Pacific %R} +${color}${else}Vancouver ${tztime Canada/Pacific %R} +${endif}${voffset -5}\
${goto 322}${if_match ${tztime America/Winnipeg %d} == ${tztime NZ %d}}${color6}+ Winnipeg ${tztime America/Winnipeg %R}${color}${else}+ Winnipeg ${tztime America/Winnipeg %R}${endif}
${goto 85}${voffset 5}${color6}${execpi 1800 sed -n '355p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '356p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '357p' /media/5/Conky/scripts/WTD/MC_data}${color}${voffset -5}\
${goto 322}${color6}${execpi 1800 sed -n '363p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '364p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '365p' /media/5/Conky/scripts/WTD/MC_data}${color}
${goto 440}${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}\
${goto 816}+ ${if_match ${tztime Europe/Rome %d} == ${tztime NZ %d}}${color6}Rome ${tztime Europe/Rome %R}${color}${else}Rome ${tztime Europe/Rome %R}${endif}
${goto 440}${color6}${execpi 1800 sed -n '323p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '324p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '325p' /media/5/Conky/scripts/WTD/MC_data}${color}\
${goto 628}${voffset -3}${if_match ${tztime Europe/Madrid %d} == ${tztime NZ %d}}${color6}Madrid ${tztime Europe/Madrid %R}${color}${else}Madrid ${tztime Europe/Madrid %R}${endif} +${voffset 3}\
${goto 816}${color6}${execpi 1800 sed -n '234p' /media/5/Conky/scripts/WTD/MC_data} ${color9}${execpi 1800 sed -n '235p' /media/5/Conky/scripts/WTD/MC_data}${color4} ${execpi 1800 sed -n '236p' /media/5/Conky/scripts/WTD/MC_data}${color}\
${voffset -4}${goto 1162}${if_match ${tztime Asia/Shanghai %d} == ${tztime NZ %d}}${color6}Beijing ${tztime Asia/Shanghai %R}${color}${else}Beijing ${tztime Asia/Shanghai %R}${endif} +${voffset 4}
${goto 628}${voffset -3}${color6}${execpi 1800 sed -n '210p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '211p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '212p' /media/5/Conky/scripts/WTD/MC_data}${voffset 3}\
${voffset -4}${goto 1162}${color6}${execpi 1800 sed -n '15p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '16p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '17p' /media/5/Conky/scripts/WTD/MC_data}${color}${voffset 4}\
${goto 1380}+ ${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}Tokyo ${tztime Asia/Tokyo %R}${color}${else}Tokyo ${tztime Asia/Tokyo %R}${endif}
${goto 1380}${color6}${execpi 1800 sed -n '99p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '100p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '101p' /media/5/Conky/scripts/WTD/MC_data}${color}
${voffset -4}${goto 895}+ ${if_match ${tztime Africa/Cairo %d} == ${tztime NZ %d}}${color6}Cairo ${tztime Africa/Cairo %R}${color}${else}Cairo ${tztime Africa/Cairo %R}${endif}${voffset 4}\
${goto 1100}+ ${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 400}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}+ Miami ${tztime US/Eastern %R}${color}${else}+ Miami ${tztime US/Eastern %R}${endif}\
${voffset -4}${goto 895}${color6}${execpi 1800 sed -n '116p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '117p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '118p' /media/5/Conky/scripts/WTD/MC_data}${voffset 4}${color}\
${goto 1100}${color6}${execpi 1800 sed -n '71p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '72p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '73p' /media/5/Conky/scripts/WTD/MC_data}${color}
${goto 400}${color6}${execpi 1800 sed -n '311p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '312p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '313p' /media/5/Conky/scripts/WTD/MC_data}${color}
${goto 213}${voffset -7}${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 7}${color}
${goto 213}${voffset -7}${color6}${execpi 1800 sed -n '307p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '308p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '309p' /media/5/Conky/scripts/WTD/MC_data}${voffset 7}${color}
${goto 1320}${if_match ${tztime Australia/Brisbane %d} == ${tztime NZ %d}}${color6}Brisbane ${tztime Australia/Brisbane %R}${color}${else}Brisbane ${tztime Australia/Brisbane %R}${endif} +
${goto 1320}${color6}${execpi 1800 sed -n '133p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '134p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '135p' /media/5/Conky/scripts/WTD/MC_data}${color}
${goto 320}${voffset -3}${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 500}+ ${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 845}${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}
${goto 320}${voffset -3}${color6}${execpi 1800 sed -n '388p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '389p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '390p' /media/5/Conky/scripts/WTD/MC_data}${voffset 3}${color}\
${goto 500}${color6}${execpi 1800 sed -n '372p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '373p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '374p' /media/5/Conky/scripts/WTD/MC_data}${color}\
${goto 845}${color6}${execpi 1800 sed -n '120p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '121p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '122p' /media/5/Conky/scripts/WTD/MC_data}\
${goto 1272}${if_match ${tztime Australia/Melbourne %d} == ${tztime NZ %d}}${color6}Melbourne ${tztime Australia/Melbourne %R}${color}${else}Melbourne ${tztime Australia/Melbourne %R}${endif} +\
${goto 1415}${voffset -5}${color6}Auckland ${tztime Pacific/Auckland %R} ${color}+${voffset 5}
${goto 1272}${color6}${execpi 1800 sed -n '145p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '146p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '147p' /media/5/Conky/scripts/WTD/MC_data}${color}\
${goto 1415}${voffset -5}${color6}${execpi 1800 sed -n '129p' /media/5/Conky/scripts/WTD/MC_data} ${color4}${execpi 1800 sed -n '130p' /media/5/Conky/scripts/WTD/MC_data}${color9} ${execpi 1800 sed -n '131p' /media/5/Conky/scripts/WTD/MC_data}${color}${voffset 5}
Try that one!
MC_data looks like this today:
Local Date/Time:
Source:
Tourism Information:
Remark
Remark
Remarks:
Not even close to the ±400 lines it use to have.
But it was a fun project that will end up like:
"ConkyForcast - A part of Conky History by Mark Buck"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello guys
Great job .
All this brings back memories.
For a long time ago in a other galaxy ...
I made this with Mageia 3
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^mga3, I think that's where I started.
Those were the days, loutch. Thanks for sharing this
Offline
WoW thanks for your efficiency guys!
thank you so much
\o/
glad to hear from you too
Offline
Hello guys
Great job .
All this brings back memories.
loutch .. Hi there. Nice to know you are still watching here.
Been a while.
Beautiful. It looks like there is a bit of the coding from above in there.
Do you still have that wallpaper? That would be perfect for a revised edition of the World Clock update conky
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
re
look here
http://images.4ever.eu/dessins/carte-du-monde-198351
@+
Last edited by loutch (2022-03-20 12:20:41)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
ragamatrix wrote:greetings to all!
it's been a long time since I came here.
It's also nice to see names that have been around for... I don't knowbeen around for a week or two, right!
Hi ragamatrix welcome back
ConkyTimeLine:
Think I still have that here, let me look
Thank you, I got lost in the wold of photography... at the moment I've lost a bit of inspiration
Offline
Really cool. Love the colorful carte-du-monde wallpaper:)
Offline
Thank you, I got lost in the wold of photography... at the moment I've lost a bit of inspiration
Been there done that - had my own B&W Darkroom in my basement what seems like 100 years ago.
Photography is a nice hobby, 100% me, and good business if your good and have clients.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Merci - Bookmarked the site as well.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Found our something interesting today:
The command:
tztime %a %d %b %Y
${tztime %a %d %b %Y}
does not show the %a (day)
because it is locale I guess
and I wanted to show 1 day less
than NZ time found out NT-144 does it:
NZ Less a day: ${tztime NZ-144 %a %d %b %Y}
NZ right now: ${tztime NZ %a %d %b %Y}
${tztime NZ-144 %a %d %b %Y} ←${color1}|${color6}→ ${tztime NZ %a %d %b %Y}${color}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hmmm, who does this reminds me of?
https://i.imgur.com/sVuqkQp.png
And conky's world wide are shaking in their pixels.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Another older conky change in 1.10 version.
OH. I remember that one.
Well done loutch
And while I am here: 33 shades of grey:
${color 000000}101 ${color 1a1a1a}201 ${color 222222}301
${color 2F4F4F}102 ${color 333333}202 ${color 444444}302
${color 4d4d4d}103 ${color 666666}203 ${color 696969}303
${color 708090}104 ${color 778899}204 ${color 808080}304
${color 8a8a8a}105 ${color 999999}205 ${color a0a0a0}305
${color a9a9a9}106 ${color ababab}206 ${color b3b3b3}306
${color bababa}107 ${color c0c0c0}207 ${color cccccc}307
${color d3d3d3}108 ${color dcdcdc}208 ${color dddddd}308
${color dedede}109 ${color dfdfdf}209 ${color e0e0e0}309
${color e6e6e6}110 ${color ededed}210 ${color F5F5F5}310
${color FAFAFA}111 ${color FBFBFB}211 ${color FFFFFF}311
and a nice colour guide, safe for web use.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Simple one-liner, no-X conky for spectrwm statusbar:
conky.config = {
out_to_console = true,
out_to_x = false,
background = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
out_to_stderr = false,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
};
conky.text = [[
CPU: ${cpu cpu0}% MEM: ${memperc}% BAT0: ${battery_percent BAT0}% NET: ${wireless_link_qual_perc wlp1s0}% ${upspeedf wlp1s0} ${downspeedf wlp1s0}
]];
You must unlearn what you have learned.
-- yoda
Offline
@PackRat
Thank you for sharing.
Offline
BEAUTIFUL!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^Sorry, my friend, I had missed that. :8
Thanks a lot, I hope you are well.
Offline