You are not logged in.
I remember you already answering me about this once, and I forgot again.
This happens to 'young guys' like us.
Last night I was working on an hourly forecast and trying to figure out why the date command wasn't working properly.
This morning my wife asked me if I had set the clock because daylight saving time is over. ![]()
If people would know how little brain is ruling the world, they would die of fear.
Offline
sleekmason wrote:unklar wrote:
Without the code, he doesn't know what's going on...lol, very true. I jumped into that exchange for the scripting part cause it looked fun. Starting to get a grip on all of it, but there is a LOT there. Now I gotta work on the associated conky too!
After the changes you suggested a few days ago (@sleekmason), “now” shows me this
Those were @marens fixes, I was just going along for the ride:) Pretty dang neat. You guys have supplied loads of cool things to explore. I have much to learn.
That's wrong.
You have to look at my entire post and quote it.
The correct version is:unklar wrote:marens wrote:I know @unklar sometimes uses a similar conky as you and will definitely know what's wrong.
Without the code, he doesn't know what's going on. wink
Then the meaning of my sentence becomes clear. You haven't provided your faulty code yet. That's why this is just for show:
sleekmason wrote:Lots of people don't like sharing, so I don't bother asking anymore. The original moon script doesn't look like yours either.
Excuse me? Not sure what the fuck you are talking about. Get a grip. I can do, or not do whatever I feel like.
First off, I don't have any issues with the "code" It's all easy enough to understand.
If you actually followed the discussion, you would see that our exchange was about his old conky with the old format that I could not locate within the thread. He explained it, and we were done.
The only issue I had was with the second convert command not allowing proper transparency without artifacts. This too you would know if you actually read the posts instead of silly attacks on things I write. Arrogance is not a virtue.
It's posts like yours that drive people away.
Offline
Conky tad script - Hourly
1) Create a folder ~/time_and_date_conky_script/hourly.
2) At the end of the tad script, add:
#### HOURLY
## Images
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]src="//c.tadst.com/gfx/w/svg[^ ]*' | awk -F'svg/' '{print $2}' | sed -n '3,7p' | sed 's/.$//' | sed 's/svg/png/' > $HOME/time_and_date_conky_script/hourly/images
## Temperature
cat $HOME/time_and_date_conky_script/weather_raw | grep 'tr class="h2 soft"' | awk -F'height=80></td></tr><tr class="h2 soft" ><td>' '{print $2}' | awk -F'</td><td>' '{print $2}' | sed 's/ / /' > $HOME/time_and_date_conky_script/hourly/temperature
cat $HOME/time_and_date_conky_script/weather_raw | grep 'tr class="h2 soft"' | awk -F'height=80></td></tr><tr class="h2 soft" ><td>' '{print $2}' | awk -F'</td><td>' '{print $3}' | sed 's/ / /' >> $HOME/time_and_date_conky_script/hourly/temperature
cat $HOME/time_and_date_conky_script/weather_raw | grep 'tr class="h2 soft"' | awk -F'height=80></td></tr><tr class="h2 soft" ><td>' '{print $2}' | awk -F'</td><td>' '{print $4}' | sed 's/ / /' >> $HOME/time_and_date_conky_script/hourly/temperature
cat $HOME/time_and_date_conky_script/weather_raw | grep 'tr class="h2 soft"' | awk -F'height=80></td></tr><tr class="h2 soft" ><td>' '{print $2}' | awk -F'</td><td>' '{print $5}' | sed 's/ / /' >> $HOME/time_and_date_conky_script/hourly/temperature
cat $HOME/time_and_date_conky_script/weather_raw | grep 'tr class="h2 soft"' | awk -F'height=80></td></tr><tr class="h2 soft" ><td>' '{print $2}' | awk -F'</td><td>' '{print $6}' | sed 's/ / /' | awk -F'</td></tr>' '{print $1}' >> $HOME/time_and_date_conky_script/hourly/temperature
## Hourly Time
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]class=h2 ><td>Now</td><td>[^ ]*' | awk -F'</td><td>' '{print $2}' > $HOME/time_and_date_conky_script/hourly/time
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]class=h2 ><td>Now</td><td>[^ ]*' | awk -F'</td><td>' '{print $3}' >> $HOME/time_and_date_conky_script/hourly/time
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]class=h2 ><td>Now</td><td>[^ ]*' | awk -F'</td><td>' '{print $4}' >> $HOME/time_and_date_conky_script/hourly/time
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]class=h2 ><td>Now</td><td>[^ ]*' | awk -F'</td><td>' '{print $5}' >> $HOME/time_and_date_conky_script/hourly/time
cat $HOME/time_and_date_conky_script/weather_raw | grep -o '[ ^]class=h2 ><td>Now</td><td>[^ ]*' | awk -F'</td><td>' '{print $6}' | sed 's/<\/td><\/tr><tr//' >> $HOME/time_and_date_conky_script/hourly/time
## Icons
j=1
for (( i=1; i<=5; i+=1 ))
do
cp $HOME/time_and_date_conky_script/tad-icons/$(sed -n ${i}p $HOME/time_and_date_conky_script/hourly/images) $HOME/time_and_date_conky_script/hourly/hourly_$j.png
((j++))
doneDone.
Run the tad script once in the terminal:
$ bash $HOME/time_and_date_conky_script/tadCheck the hourly folder.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
@ marens
Well, there you go, I didn't dare ask.
I know I'm repeating myself, but thank you again for everything.
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
^ Always ask whatever you want.
If I can help, I always will.
The weather here has been bad (rainy) the last few days, so I took advantage of that to finish the tad script.
... thank you again for everything.
It sounds like I'm dead, but I'm not yet. ![]()
P.S.
Thanks to @sleekmason, @loutch and @unklar for testing.
Last edited by marens (Today 15:54:20)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Re
I found a small speck of dust.
In hourly/time i have just one line the rest work great
@+
Last edited by loutch (Today 16:27:57)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
^ Always ask whatever you want.
If I can help, I always will.
The weather here has been bad (rainy) the last few days, so I took advantage of that to finish the tad script.loutch wrote:... thank you again for everything.
It sounds like I'm dead, but I'm not yet.
P.S.
Thanks to @sleekmason, @loutch and @unklar for testing.
Yes, thank you for your work too.
It was a pleasure to know that I'm not the only one who's forgetful ![]()
---
Otherwise, I'll just say: ohnonot-syndrome
Offline