You are not logged in.

#4661 Today 13:52:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

unklar wrote:

I remember you already answering me about this once, and I forgot again.  yikes

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.  big_smile


If people would know how little brain is ruling the world, they would die of fear.

Offline

#4662 Today 13:55:19

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,138
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

unklar wrote:
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

#4663 Today 14:14:50

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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/&nbsp;/ /' > $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/&nbsp;/ /' >> $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/&nbsp;/ /' >> $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/&nbsp;/ /' >> $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/&nbsp;/ /' | 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++))
  
  done

Done.

Run the tad script once in the terminal:

$ bash $HOME/time_and_date_conky_script/tad

Check the hourly folder.

hourly.png


If people would know how little brain is ruling the world, they would die of fear.

Offline

#4664 Today 15:07:27

loutch
Member
Registered: 2015-12-12
Posts: 904

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

Offline

#4665 Today 15:38:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ 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.  big_smile

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

#4666 Today 16:27:35

loutch
Member
Registered: 2015-12-12
Posts: 904

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Re

I found a small speck of dust.

In hourly/time i have just one line the rest work great

hIhnSGMr_t.png

@+

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

Offline

#4667 Today 16:32:24

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,722

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

marens wrote:

^ 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.  big_smile

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  tongue
---
Otherwise, I'll just say: ohnonot-syndrome

Offline

#4668 Today 17:33:29

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,138
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

unklar wrote:
Otherwise, I'll just say: ohnonot-syndrome

How about you address me directly instead of hiding?  You called me out, called me a liar, and can't handle the response when I called you out on it.

I wasn't bothering you.
I didn't ask you for anything.
I responded kindly the first time you started in with the code bit.

I have nothing to hide from anyone.  You seem to think I have some ulterior motive for something?  What might that be? My actions prove themself just like yours.  You are not a very nice person. You can take your bullshit and shove it where the sun don't shine.

Offline

#4669 Today 18:14:21

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@loutch

I need your weather_raw file.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#4670 Today 18:42:14

loutch
Member
Registered: 2015-12-12
Posts: 904

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

re

oki-docki

here

<!DOCTYPE html><!--

scripts and programs that download content transparent to the user are not allowed without permission



--><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Weather for Sarreguemines, Moselle, France</title>
<meta name="description" content="Current weather in Sarreguemines and forecast for today, tomorrow, and next 14 days">
<meta name="robots" content="max-image-preview:large"><meta property="og:image" content="https://www.timeanddate.com/scripts/cityog.php?title=Weather%20in&amp;tint=0x007b7a&amp;city=Sarreguemines&amp;state=Moselle&amp;country=France">
<meta property="og:image:width" content="1366"><meta property="og:image:height" content="738"><meta property="og:type" content="website"><style>
@font-face{font-family:iconfont;src:url("/common/fonts/iconfont.woff2?v8") format("woff2"),url("/common/fonts/iconfont.woff?v8") format("woff"),url("/common/fonts/iconfont.ttf?v8") format("truetype"),url("/common/fonts/iconfont.svg?v8#iconfont") format("svg");font-weight:400;font-style:normal}
</style>

<link rel=preload href="/common/fonts/iconfont.woff2?v8" as=font type="font/woff2" crossorigin>
<link rel=preconnect href="https://c.tadst.com" crossorigin>
<link rel=preload href="//c.tadst.com/com/common/global_50.css" as=style>
<link rel=preload href="/common/prebidtad.reg.desk.cmp_43.js" as=script>
<script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" async></script>
<script src="https://c.amazon-adsystem.com/aax2/apstag.js" async></script>
<script src="https://btloader.com/tag?o=5174239513018368&upapi=true" async></script>
<script>

AdMgr=(function(){var isLog=0,isSent=0,slots=[],slotsR=[],techs={"pb":1,"aps":1},techsR={"pb":1,"aps":1},isResent=0,vals={"gdpr":"nc"};
function isSecond(){return(document.referrer||'').indexOf('timeanddate')>0;
}
function logAds(){if(isLog){return}
if(!window.jcb||!window.TADhba){setTimeout(logAds,1000);
return;
}
isLog=1;
jcb("/scripts/logads.php?d=d"+"&"+TADhba(),function(){});
}
AD={s:[],o:0};
googletag=window.googletag||{};
googletag.cmd=googletag.cmd||[];
function push(f){googletag.cmd.push(f);
}
function set(n,v){vals[n]=v;
}
function get(n){return vals[n];
}
function setTargeting(n,v){if(v){push(function(){googletag.pubads().setTargeting(n,v);
});
}
}
function send(){if(isSent)return;
isSent=true;
setTargeting("pbv",window.pbv);
setTargeting("si",isSecond()?"2":"1");
setTargeting("gdpr",get("gdpr"));
if(!AdMgr.get('p1')){setTargeting('pf','021')}
slots.forEach(function(o){if(o.t){for(let j=0;j<o.t.length;j++){t=o.t[j];
if (t[0]!="pf"||!AdMgr.get('p1')){o.S && o.S.setTargeting(t[0],t[1]);
}
}
}
});
push(function(){googletag.enableServices();
googletag.pubads().refresh(AD.s);
});
}
function resend(){if(isResent)return;
isResent=true;
let o=slotsR[0];
o.S.setTargeting('rot',''+o.r);
googletag.pubads().refresh([o.S]);
}
function rendered(g){if(g.advertiserId) {AdMgr.hasAd=1;
}
setTimeout(logAds,1000);
}
function bidsIn(i){delete techsR[i];
if(Object.keys(techsR).length==0){sendAdserverRequest()}
}
function bidsInR(i){delete techsR[i];
if(Object.keys(techsR).length==0){resend()}
}
function addSlot(o){if (o.wm&&o.wm>window.innerWidth){o.wf.i=o.i;
o=o.wf;
}
o.r=0;
o.a9=function(){return{slotID:o.i,slotName:o.n,sizes:o.s}}
slots.push(o);
if(o.css){let s=document.createElement('style');
s.textContent=o.css;
document.head.append(s);
}
}
function refresh(o){if (o.r<3 && AdMgr.hasAd){AdMgr.hasAd=0;
isResent=false;
techsR={"pb":1,"aps":1};
o.r++;
slotsR=[o];
setTimeout(resend,3000);
pbjs.requestBids({timeout:2300,
adUnitCodes:[o.n],
bidsBackHandler:function(){try{pbjs.setTargetingForGPTAsync([o.n])}catch(e){}
AdMgr.bidsInR('pb')
}
});
TADaps.t=+new Date();apstag.fetchBids({slots:[o.a9()],timeout:2000,params:{adRefresh:'1'}},
function(bids){AdMgr.push(function(){TADaps.b=[];
TADaps.e=+new Date();
apstag.setDisplayBids();
AD.s.forEach(function(o){let c=0,z=o.getTargeting('amznbid');
if(z&&z.length>0){c=z[0];
}
TADaps.b.push(c);
});
AdMgr.bidsInR('aps');
});
});
}
}
function slot(i){return slots[i];
}
function a9slot(i){return slot(i).a9();
}
function gptSlot(i){let o=slot(i),j;
if(o){o.S=googletag.defineSlot(o.n,o.s,o.i);
o.S.addService(googletag.pubads());
if(o.c){googletag.setConfig(o.c)}
AD.s.push(o.S);
if (o.ro){let e=document.getElementById(o.i);
if(e){addEventListener("impressionViewableRotate",function(){refresh(o)}, true)
}
}
}
}
function dispSlot(i){let o=slot(i);
push(function(){googletag.display(o.i)});
}
push(function(){googletag.pubads().disableInitialLoad();
googletag.pubads().addEventListener('slotRenderEnded',rendered);
});
return {addSlot:addSlot,
slot:slot,
a9slot:a9slot,
gptSlot:gptSlot,
dispSlot:dispSlot,
bidsIn:bidsIn,
bidsInR:bidsInR,
push:push,
setTargeting:setTargeting,
send:send,
set:set,
get:get,
rendered:rendered,
isSecond:isSecond,
done:function(){return isLog}
}
})();
AdMgr.addSlot({n:'/1004254/tadcom_300x600',s:[[300,600],[300,250],[160,600],[120,600]],i:'div-gpt-com-300x600',t:[['pf','018']]});AdMgr.addSlot({n:'/1004254/tadcom_970',s:[[970,90],[728,90]],i:'div-gpt-com-970x90-head',t:[['pf','021']]});
var pbjs=pbjs||{};pbjs.que=pbjs.que||[];
pbjs.bidderSettings={standard:{storageAllowed:true}};
!function(a9,a,p){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]}}("apstag",window,document);
function cmpEvent(t,s){if(s){let e=t.eventStatus;
if(e=='useractioncomplete'||e=='tcloaded'){if (t.purpose.consents[1]){AdMgr.set("gdpr","acc");
}else{AdMgr.set("gdpr","rej");
AdMgr.set('p1',1);
}
consentDataReady();
}
}
}
function consentDataReady(){consentDataReady=function(){};
pbjs.que.push(function(){if(AdMgr.get('p1')){pbjs.setConfig({'deviceAccess':false});
}
pbjs.addAdUnits([{code:AdMgr.slot(0).n,mediaTypes:{banner:{sizes:AdMgr.slot(0).s}},ortb2Imp:{ext:{gpid:'/1004254/tadcom_300x600#a3720'}},bids:[{bidder:'amx',params:{tagId:'dGltZWFuZGRhdGUuY29t'}},{bidder:'criteo',params:{zoneId:1698495}},{bidder:'insticator',params:{adUnitId:'01JJ7HSPFMMBNCBWJSDQYYPEMA',publisherId:'be9f3fb2-3a4a-468e-9dd8-1e941423d85b'}},{bidder:'ix',params:{siteId:'911528',size:[300,600]}},{bidder:'medianet',params:{cid:'8CU692DPW',crid:'465741218'}},{bidder:'oms',params:{publisherId:20895}},{bidder:'pubmatic',params:{adSlot:'4851007',publisherId:'157610'}},{bidder:'rise',params:{org:'6516aab5dd00540001482f61'}},{bidder:'rubicon',params:{accountId:'16448',siteId:'127484',zoneId:'2653396'}},{bidder:'sovrn',params:{tagid:'422106'}}]},{code:AdMgr.slot(1).n,mediaTypes:{banner:{sizes:AdMgr.slot(1).s}},ortb2Imp:{ext:{gpid:'/1004254/tadcom_970#a3720'}},bids:[{bidder:'amx',params:{tagId:'dGltZWFuZGRhdGUuY29t'}},{bidder:'criteo',params:{zoneId:1702571}},{bidder:'insticator',params:{adUnitId:'01JJ7HSPFMMBNCBWJSDQYYPEMA',publisherId:'be9f3fb2-3a4a-468e-9dd8-1e941423d85b'}},{bidder:'ix',params:{siteId:'924834',size:[970,90]}},{bidder:'medianet',params:{cid:'8CU692DPW',crid:'635764783'}},{bidder:'oms',params:{publisherId:20895}},{bidder:'pubmatic',params:{adSlot:'4851008',publisherId:'157610'}},{bidder:'rise',params:{org:'6516aab5dd00540001482f61'}},{bidder:'rubicon',params:{accountId:'16448',siteId:'127484',zoneId:'2677290'}},{bidder:'sovrn',params:{tagid:'422101'}}]}]);
pbjs.requestBids({bidsBackHandler:function(){var c=0,a,b,i,h=0,r=pbjs.getBidResponses();
AdMgr.push(function(){pbjs.setTargetingForGPTAsync()});
for(a in r){if(r.hasOwnProperty(a)){b=r[a].bids;
for(i=0;i<b.length;i++){if(b[i].cpm){c++;
h=Math.max(h,b[i].cpm)
}
}
}
}
AdMgr.setTargeting("tadbid",""+c);
AdMgr.highBid=h;
AdMgr.bidsIn('pb')
}
}
);
});
TADaps.t=+new Date();apstag.fetchBids({slots:[AdMgr.a9slot(0),AdMgr.a9slot(1)],timeout:1708,params:{adRefresh:'0'}},
function(bids){AdMgr.push(function(){TADaps.e=+new Date();
apstag.setDisplayBids();
AD.s.forEach(function(o){let c=0,z=o.getTargeting('amznbid');
if(z&&z.length>0){c=z[0];
}
TADaps.b.push(c);
});
AdMgr.bidsIn('aps');
});
});
}
pbjs.que.push(function(){pbjs.setConfig({consentManagement:{gdpr:{cmpApi:'iab',timeout:8000,defaultGdprScope:true}},
s2sConfig:{accountId:'1',
bidders:["amx","pubmatic","sovrn"],
adapter:'prebidServer',
enabled:true,
endpoint:{p1Consent:'https://www.timeanddate.com/.pbs/v1/openrtb2/auction',
noP1Consent:'https://www.timeanddate.com/.pbs/v1/openrtb2/auction'
},
syncEndpoint:{p1Consent:'https://www.timeanddate.com/.pbs/v1/cookie_sync',
noP1Consent:'https://www.timeanddate.com/.pbs/v1/cookie_sync'
},
timeout:1056
},
userSync:{userIds:[{name:"quantcastId"},{name:"criteo"},{name:"sharedId",params:{pixelUrl:"/scripts/sharedid.php"},storage:{name:"_sharedID",type:"cookie",expires:30}}],filterSettings:{iframe:{bidders:"*",filter:"include"}}},
floors:{enforcement:{enforceJS:false},data:{schema:{fields:['size']},values:{'300x600':0.18,'970x90':0.21},default:0.17}},
priceGranularity:{buckets:[{min:0,max:4,increment:0.01},{min:4,max:8,increment:0.02},{min:8,max:20,increment:0.05},{min:20,max:30,increment:0.10},{min:30,max:50,increment:0.25},{min:50,max:100,increment:1}]},
enableSendAllBids:true,
bidderTimeout:1408,
pageUrl:"https:\/\/www.timeanddate.com\/weather\/@6454374"
});
pbjs.aliasBidder('insticator','insticator');
pbjs.setConfig({"bidders":["rubicon"],"config":{"schain":{"validation":"strict","config":{"ver":"1.0","complete":1,"nodes":[{"asi":"netricsales.com","sid":"16448","hp":1}]}}}}, true);
});
TADaps={b:[]};apstag.init({pubID:'12d5d789-63e3-47bc-ba31-070e97a96f2c',adServer:'googletag'});
function sendAdserverRequest(){AdMgr.send();
}
setTimeout(function(){function cmpWait(sec){if(typeof(window.__tcfapi)=="function"){__tcfapi('ping',2,function(d){if(d&&d.displayStatus!="visible"){sendAdserverRequest();
}
})
}else{if(sec>0) {setTimeout(function(){cmpWait(sec-1)},1000)
}else{sendAdserverRequest()
}
}
}
cmpWait(5);
},1408);
googletag.cmd.push(function(){AdMgr.gptSlot(0);AdMgr.gptSlot(1);googletag.pubads().setTargeting('ab','a').setTargeting('hr','18').setTargeting('ut','u').setTargeting('taxch','1008').setTargeting('taxso','1216').setTargeting('taxca','390').setTargeting('taxla','1068').setTargeting('art','3720').enableSingleRequest()});

</script>
<script src="/common/prebidtad.reg.desk.cmp_43.js" async></script><link href="/site.webmanifest" rel="manifest"><link type="image/png" href="//c.tadst.com/favicon-48x48.png" rel="icon" sizes="48x48"><link type="image/png" href="//c.tadst.com/favicon-16x16.png" rel="icon" sizes="16x16"><link type="image/png" href="//c.tadst.com/favicon-32x32.png" rel="icon" sizes="32x32"><link rel="stylesheet" type="text/css" href="//c.tadst.com/com/common/global_50.css">
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Weather","item":"https://www.timeanddate.com/weather/"},{"@type":"ListItem","position":2,"name":"Sarreguemines"}]}
</script><link rel="stylesheet" type="text/css" href="//c.tadst.com/com/common/tpl_banner_22.css">
<link rel="stylesheet" type="text/css" href="//c.tadst.com/com/common/citypages_57.css">
<link rel="stylesheet" type="text/css" href="//c.tadst.com/com/common/citywt_34.css">
<script>mtt=1;</script><style>
#set-f{height:25px;width:25px;top:-30px}div#qfacts{max-height:1000000px}#qlook{text-align:left}#qlook .h1{max-width:80%}tbody .wa:hover{background:hsla(0,0,80%,.4);cursor:pointer}

</style>
</head>
<body class="tpl-banner  weather" >
<div id=header__wrapper class=header__wrapper>
<div id=header__inner class=header__inner>
<div id=header class=banner>
<div class=fixed>
<div id=logo>
<a href="/" rel=home title="Home page timeanddate.com"><div class="tad-logo" role="img" aria-label="timeanddate.com"></div></a>
</div>
</div>
</div>
<div id=ad-wrap><div id=ad-wrap2 class=fixed><div id=ad7><div id='div-gpt-com-970x90-head'><script>
AdMgr.dispSlot(1);
</script>
</div></div></div></div>
<nav id=nav class=site-nav-bar>
<div class="site-nav-bar__inner fixed">
<button class="site-nav-bar__button site-nav-bar__button--menu" id=site-nav-menu title="Menu" aria-label="Menu">
<i class="i-font i-menu"></i>
</button>
<div class=site-nav-bar__logo>
<a href="/" rel=home title="Home page timeanddate.com"><img src="//c.tadst.com/gfx/n/logo/logo-2021--horizontal-inverted-darkbg.svg" loading=lazy alt="timeanddate.com" width=140 height=19></a>
</div>
<form action="/search/results.html" class=site-nav-bar__search-form>
<input class=site-nav-bar__search placeholder="Search..." id=site-nav-search name=query title="Search" aria-label="Search"/>
<button class="site-nav-bar__button site-nav-bar__button--search" id=site-nav-search-btn aria-label="Search">
<div class=site-nav-bar__search-inner>
<i class="i-font i-search"></i>
</div>
</button>
</form>
<div class=site-nav-bar__menu-wrap>
<div class=site-nav__header>
<button class=site-nav__login id=site-nav-login>Sign in</button>
<button class=site-nav__close id=site-nav-close title="Close">
<i class="i-font i-close"></i>
</button>
</div>
<ul id=site-nav class=site-nav>
<li class="site-nav__menu "><a href="/news/" class=site-nav__title>News</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/news">News Home</a><li class=site-nav__item><a class=site-nav__link href="/news/astronomy/">Astronomy News</a><li class=site-nav__item><a class=site-nav__link href="/news/time/">Time Zone News</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/news/calendar/">Calendar &amp; Holiday News</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/newsletter/">Newsletter</a><li class=site-nav__item><a class=site-nav__link href="/live/">Live events</a></ul></li><li class="site-nav__menu "><a href="/worldclock/" class=site-nav__title>World Clock</a><ul class=site-nav__sub-menu><li class=site-nav__item><a class=site-nav__link href="/worldclock/">Main World Clock</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/full.html">Extended World Clock</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/worldclock/personal.html">Personal World Clock</a><li class=site-nav__item><a class=site-nav__link href="/clocks/free.html">Clock for Your Site</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/timezone/utc">UTC Time</a></ul></li><li class="site-nav__menu "><a href="/time/" class=site-nav__title>Time Zones</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/time">Time Zones Home</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/converter.html">Time Zone Converter</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/meeting.html">Meeting Planner</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/worldclock/fixedform.html">Event Time Announcer</a><li class=site-nav__item><a class=site-nav__link href="/time/map/">Time Zone Map</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/time/zones/">Time Zone Abbreviations</a><li class=site-nav__item><a class=site-nav__link href="/time/dst/">Daylight Saving Time</a><li class=site-nav__item><a class=site-nav__link href="/time/change/">Time Changes Worldwide</a><li class=site-nav__item><a class=site-nav__link href="/time/difference/">Time Difference</a><li class=site-nav__item><a class=site-nav__link href="/news/time/">Time Zone News</a></ul></li><li class="site-nav__menu "><a href="/calendar/" class=site-nav__title>Calendar</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/calendar/info.html">Calendars Home</a><li class=site-nav__item><a class=site-nav__link href="/calendar/">Calendar 2025</a><li class=site-nav__item><a class=site-nav__link href="/calendar/?year=2026">Calendar 2026</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/calendar/monthly.html">Monthly Calendar</a><li class=site-nav__item><a class=site-nav__link href="/calendar/create.html">Printable Calendar (PDF)</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/calendar/events/">Add Your Own Calendar Events</a><li class=site-nav__item><a class=site-nav__link href="/calendar/basic.html">Calendar Creator</a><li class=site-nav__item><a class=site-nav__link href="/holidays/">Holidays Worldwide</a><li class=site-nav__item><a class=site-nav__link href="/on-this-day/">On This Day in History</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/holidays/fun/">Fun Holidays</a><li class=site-nav__item><a class=site-nav__link href="/calendar/months/">Months of the Year</a><li class=site-nav__item><a class=site-nav__link href="/calendar/days/">Days of the Week</a><li class=site-nav__item><a class=site-nav__link href="/date/leapyear.html">About Leap Years</a><li class=site-nav__item><a class=site-nav__link href="/news/calendar/">Calendar &amp; Holiday News</a></ul></li><li class="site-nav__menu   active"><a href="/weather/" class=site-nav__title>Weather</a><ul class=site-nav__sub-menu><li class=site-nav__item><a class=site-nav__link href="/weather/">Worldwide</a><li class=site-nav__item><a class=site-nav__link href="/scripts/go.php">Local Weather</a><li class=site-nav__item><a class=site-nav__link href="/scripts/go.php?type=ext">2-Week Forecast</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/scripts/go.php?type=hourly">Hour-by-Hour</a><li class=site-nav__item><a class=site-nav__link href="/scripts/go.php?type=historic">Past Week</a><li class=site-nav__item><a class=site-nav__link href="/scripts/go.php?type=climate">Climate</a></ul></li><li class="site-nav__menu "><a href="/astronomy/" class=site-nav__title>Sun, Moon &amp; Space</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/astronomy">Sun &amp; Moon Home</a><li class=site-nav__item><a class=site-nav__link href="/sun/">Sun Calculator</a><li class=site-nav__item><a class=site-nav__link href="/moon/">Moon Calculator</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/moon/phases/">Moon Phases</a><li class=site-nav__item><a class=site-nav__link href="/astronomy/night/">Night Sky</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/astronomy/meteor-shower/">Meteor Showers</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/sunearth.html">Day and Night Map</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/astronomy/moon/light.html">Moon Light World Map</a><li class=site-nav__item><a class=site-nav__link href="/eclipse/">Eclipses</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/live/">Live Streams</a><li class=site-nav__item><a class=site-nav__link href="/calendar/seasons.html">Seasons</a><li class=site-nav__item><a class=site-nav__link href="/news/astronomy/">Astronomy News</a></ul></li><li class="site-nav__menu "><a href="/counters/" class=site-nav__title>Timers</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--mob"><a class=site-nav__link href="/counters">Timers Home</a><li class=site-nav__item><a class=site-nav__link href="/stopwatch/">Stopwatch</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/timer/">Timer</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/countdown/create">Countdown to Any Date</a><li class=site-nav__item><a class=site-nav__link href="/countdown/halloween">Halloween Countdown</a><li class=site-nav__item><a class=site-nav__link href="/countdown/thanksgiving">Thanksgiving Countdown</a><li class=site-nav__item><a class=site-nav__link href="/countdown/newyear">New Year Countdown</a><li class=site-nav__item><a class=site-nav__link href="/clocks/freecountdown.html">Countdown for Your Site</a></ul></li><li class="site-nav__menu "><a href="/date/" class=site-nav__title>Calculators</a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/date/">Calculators Home</a><li class=site-nav__item><a class=site-nav__link href="/date/duration.html">Date to Date Calculator (duration)</a><li class=site-nav__item><a class=site-nav__link href="/date/workdays.html">Business Date to Date (exclude holidays)</a><li class=site-nav__item><a class=site-nav__link href="/date/dateadd.html">Date Calculator (add / subtract)</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/date/weekdayadd.html">Business Date (exclude holidays)</a><li class=site-nav__item><a class=site-nav__link href="/date/weekday.html">Weekday Calculator</a><li class=site-nav__item><a class=site-nav__link href="/date/weeknumber.html">Week Number Calculator</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/date/roman-calculator.html">Roman Numeral Converter</a><li class=site-nav__item><a class=site-nav__link href="/date/birthday.html">Alternative Age Calculator</a><li class=site-nav__item><a class=site-nav__link href="/date/pattern.html">Date Pattern Calculator</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/distance.html">Distance Calculator</a></ul></li><li class="site-nav__menu site-nav__menu--my-account"><a href="/custom/" class=site-nav__title><i class='i-font i-account_circle site-nav__desktop-title'></i>  <span>My Account</span></a><ul class=site-nav__sub-menu><li class="site-nav__item site-nav__item--divider site-nav__item--mob"><a class=site-nav__link href="/custom">My Account</a><li class=site-nav__item><a id=popchi class=site-nav__link href="/custom/location.html">My Location</a><li class=site-nav__item><a class=site-nav__link href="/custom/site.html">My Units</a><li class=site-nav__item><a class=site-nav__link href="/calendar/events/">My Events</a><li class=site-nav__item><a class=site-nav__link href="/worldclock/personal.html">My World Clock</a><li class="site-nav__item site-nav__item--divider"><a class=site-nav__link href="/custom/privacy.html">My Privacy</a><li class=site-nav__item><a class=site-nav__link href="/services/">Paid Services</a><li class=site-nav__item><a id=poplogin class=site-nav__link href="/custom/login.html">Sign in</a><li class=site-nav__item><a id=popreg class=site-nav__link href="/custom/create.html">Register</a></ul></li>
</ul> 
</div>
<div class=site-nav-bar__blur id=site-nav-blur></div>
</div>
</nav>
</div>
</div><div id=po1 class=po></div><div id=mpo></div><div id=anw class=alert-notice__wrap></div><div class=main-content-div><script>
window.TAD=window.TAD||{};TAD.abtest='a';
</script><script>window.TAD=window.TAD||{};window.TAD.toCdnAssetUrl=function(a){return '//c.tadst.com/com/common/frontend/32/' + a;}</script><header class="bn-header bn-header--weather"><div class="row socrow"><div id=bc class="fixed"><div id=bct><a target=_top href="/" class=fx>Home</a> &nbsp; <a target=_top href="/weather/" class=fx>Weather</a> &nbsp; Sarreguemines</div></div></div><div class="bn-header__wrap fixed"><div class="headline-banner "><section class="headline-banner__wrap">








<img src="//c.tadst.com/gfx/n/fl/48/fr.png" class=headline-banner__flag alt="Flag for France" title="Flag for France" width=48 height=32>
<div class="headline-banner__content"><h1 class="headline-banner__title">Weather in Sarreguemines, Moselle, France</h1></div></section>
<section class="headline-banner__extra"><form action="/weather/" class="bn-header__searchbox picker-city noprint"><input
type="search"
autocomplete="off"
class="picker-city__input"
placeholder="Search for city or place…"
onfocus="ifc(this,&#039;ci&#039;,1,5,{&quot;pre&quot;:&quot;/weather/&quot;})"
name="query"
/><button type="submit" class="picker-city__button" title="Search"><i class="i-font i-search"></i></button></form></section></div></div>
<section class="bn-header__extra"><nav id=bk-nav><div class=fixed><div class=bk-nav__inner><div class=nav-2__wrap><ul class=nav-2><li class=nav-2__item><a href="/worldclock/@6454374" title="General/main info about Sarreguemines">Time/General</a></li><li class="active nav-2__item"><a href="/weather/@6454374" title="Current weather and forecast for Sarreguemines">Weather  <i class=i-dropdown></i></a><ul class=nav-2__submenu><li class="active nav-2__submenu-item"><a href="/weather/@6454374" class=active title="Shows a weather overview">Weather Today/Tomorrow </a></li><li class=nav-2__submenu-item><a href="/weather/@6454374/hourly" title="Hour-by-hour weather for the coming week">Hour-by-Hour Forecast </a></li><li class=nav-2__submenu-item><a href="/weather/@6454374/ext" title="Extended forecast for the next two weeks">14 Day Forecast </a></li><li class=nav-2__divider></li><li class=nav-2__submenu-item><a href="/weather/@6454374/historic" title="Past weather for yesterday, the last 2 weeks, or any selected month available">Yesterday/Past Weather</a></li><li class=nav-2__submenu-item><a href="/weather/@6454374/climate" title="Historic weather and climate information">Climate (Averages)</a></li></ul></li><li class=nav-2__item><a href="/time/zone/@6454374" title="Past and future time change dates for Sarreguemines">Time Zone </a></li><li class=nav-2__item><a href="/time/change/@6454374" title="Daylight saving time changeover dates and times for Sarreguemines">DST Changes</a></li><li class=nav-2__item><a href="/astronomy/@6454374" title="Calculate rising and setting times for the Sun and Moon in Sarreguemines">Sun &amp; Moon <i class=i-dropdown></i></a><ul class=nav-2__submenu><li class=nav-2__submenu-item><a href="/astronomy/@6454374">Sun & Moon Today </a></li><li class=nav-2__submenu-item><a href="/sun/@6454374">Sunrise & Sunset </a></li><li class=nav-2__divider></li><li class=nav-2__submenu-item><a href="/moon/@6454374">Moonrise & Moonset </a></li><li class=nav-2__submenu-item><a href="/moon/phases/@6454374">Moon Phases </a></li><li class=nav-2__divider></li><li class=nav-2__submenu-item><a href="/eclipse/in/@6454374">Eclipses </a></li><li class=nav-2__submenu-item><a href="/astronomy/night/@6454374">Night Sky </a></li></ul></li></ul></div></div></div></nav><script type="text/javascript">
TAD=window.TAD||{};TAD.lon=7.068;TAD.lat=49.110;
</script></section></header>
<main class="tpl-banner__main layout-grid layout-grid--sky tpl-banner__main--weather"><section class="layout-grid__hero tpl-banner__hero"><nav class=nav-3><div class=fixed><a href="/weather/@6454374" class=active title="Shows a weather overview">Weather Today</a><a href="/weather/@6454374/hourly" title="Hour-by-hour weather for the coming week">Weather Hourly</a><a href="/weather/@6454374/ext" title="Extended forecast for the next two weeks">14 Day Forecast</a><a href="/weather/@6454374/historic" title="Past weather for yesterday, the last 2 weeks, or any selected month available">Yesterday/Past Weather</a><a href="/weather/@6454374/climate" title="Historic weather and climate information">Climate (Averages)</a></div></nav></section>
<article class="layout-grid__main tpl-banner__content"><section class=bk-focus><div id=qlook class=bk-focus__qlook><div class=h1>Now</div><img id=cur-weather class=mtt title="Clear." src="//c.tadst.com/gfx/w/svg/wt-13.svg" width=80 height=80><div class=h2>6&nbsp;°C</div><p>Clear.</p><br class=clear><p>Feels Like: 3&nbsp;°C<br><span title="High and low forecasted temperature today">Forecast: 12 / 7&nbsp;°C</span><br>Wind: 17 km/h <span class="comp sa4" title="Wind blowing from 220° Southwest to Northeast">↑</span> from Southwest</p></div><div class=bk-focus__info><table class="table table--left table--inner-borders-rows"><tbody><tr><th>Location: </th><td>Metz-Nancy-Lorraine</td></tr><tr><th>Current Time: </th><td id=wtct>26 oct 2025, 19 h 39 m 54</td></tr><tr><th>Latest Report: </th><td>26 oct 2025, 19 h 00</td></tr><tr><th>Visibility: </th><td>16&nbsp;km</td></tr><tr><th>Pressure: </th><td>1012 mbar</td></tr><tr><th>Humidity: </th><td>87%</td></tr><tr><th>Dew Point: </th><td>4&nbsp;°C</td></tr></tbody></table></div><div id=bk-map class=bk-focus__map><div><img title="Map showing the location of Sarreguemines." src="//c.tadst.com/gfx/citymap/fr-10.png?9" alt="Location of Sarreguemines" width=320 height=160><img id=map-mrk src="//c.tadst.com/gfx/n/icon/icon-map-pin.png" class=fadeInDown style="left:120px;top:-7px;position:absolute" alt=Location title="Location of Sarreguemines" width=18 height=34></div></div></section><section class=fixed><div class="row pdflexi-b dashb"><div><h2>Upcoming 5 hours</h2><div class=pr><a href="/custom/site.html" id=set-f title="Change Units" onclick="return modpop(&#39;/scripts/tzq.php?cb=3752160&amp;type=weather&#39;,null,&#39;Change Units for Weather&#39;);"><i class="i-font i-settings"></i></a><table id=wt-5hr class="fw sep tc"><tbody><tr class=h2 ><td>Now</td><td>20 h 00</td><td>21 h 00</td><td>22 h 00</td><td>23 h 00</td><td>00 h 00</td></tr><tr ><td><img class=mtt title="Clear." src="//c.tadst.com/gfx/w/svg/wt-13.svg" width=80 height=80></td><td><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=80 height=80></td><td><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=80 height=80></td><td><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=80 height=80></td><td><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=80 height=80></td><td><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=80 height=80></td></tr><tr class="h2 soft" ><td>6&nbsp;°C</td><td>7&nbsp;°C</td><td>7&nbsp;°C</td><td>7&nbsp;°C</td><td>7&nbsp;°C</td><td>7&nbsp;°C</td></tr></tbody></table></div><p class=lk-block><a href="/weather/@6454374/hourly" class=read-more>See more hour-by-hour weather</a></p></div><div class="four columns">
</div></div><div class="row pdflexi"><div class="eight columns"><h2 class=mgt0>Forecast for the next 48 hours</h2><div class=tb-scroll><span>Scroll right to see more</span><table id=wt-48 class="zebra tb-wt tc sep"><thead><tr class=bg-wt><th>&nbsp;</th><th>dimanche</th><th colspan=4 class="sep-l">lundi</th><th colspan=2 class="sep-l">mardi</th></tr><tr><th>&nbsp;</th><th><span title="Evening means the time between 18 h 00 and 00 h 00">Evening</span></th><th class="sep-l"><span title="Night means the time between 00 h 00 and 06 h 00">Night</span></th><th><span title="Morning means the time between 06 h 00 and 12 h 00">Morning</span></th><th><span title="Afternoon means the time between 12 h 00 and 18 h 00">Afternoon</span></th><th><span title="Evening means the time between 18 h 00 and 00 h 00">Evening</span></th><th class="sep-l"><span title="Night means the time between 00 h 00 and 06 h 00">Night</span></th><th><span title="Morning means the time between 06 h 00 and 12 h 00">Morning</span></th></tr></thead><tbody><tr ><th>Forecast</th><td><img class=mtt title="Sprin&shy;kles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=40 height=40></td><td class="sep-l " ><img class=mtt title="Rain. Overcast." src="//c.tadst.com/gfx/w/svg/wt-19.svg" width=40 height=40></td><td><img class=mtt title="Rain. Overcast." src="//c.tadst.com/gfx/w/svg/wt-19.svg" width=40 height=40></td><td><img class=mtt title="Sprin&shy;kles. Partly cloudy." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=40 height=40></td><td><img class=mtt title="Drizzle. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=40 height=40></td><td class="sep-l " ><img class=mtt title="Sprin&shy;kles. Mostly cloudy." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=40 height=40></td><td><img class=mtt title="Sprin&shy;kles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=40 height=40></td></tr><tr ><th>Temperature</th><td>7&nbsp;°C</td><td class="sep-l " >7&nbsp;°C</td><td>9&nbsp;°C</td><td>10&nbsp;°C</td><td>9&nbsp;°C</td><td class="sep-l " >8&nbsp;°C</td><td>9&nbsp;°C</td></tr><tr ><th></th><td class="smaller" >Sprin&shy;kles. Overcast.</td><td class="sep-l smaller" >Rain. Overcast.</td><td class="smaller" >Rain. Overcast.</td><td class="smaller" >Sprin&shy;kles. Partly cloudy.</td><td class="smaller" >Drizzle. Overcast.</td><td class="sep-l smaller" >Sprin&shy;kles. Mostly cloudy.</td><td class="smaller" >Sprin&shy;kles. Overcast.</td></tr><tr ><th>Feels Like</th><td>3&nbsp;°C</td><td class="sep-l " >2&nbsp;°C</td><td>7&nbsp;°C</td><td>7&nbsp;°C</td><td>6&nbsp;°C</td><td class="sep-l " >4&nbsp;°C</td><td>5&nbsp;°C</td></tr><tr ><th>Wind Speed</th><td>20 km/h</td><td class="sep-l " >34 km/h</td><td>17 km/h</td><td>31 km/h</td><td>21 km/h</td><td class="sep-l " >20 km/h</td><td>25 km/h</td></tr><tr ><th>Wind Direction</th><td>WSW<br><span class="comp sa6" title="Wind blowing from 240° West-southwest to East-northeast">↑</span></td><td class="sep-l " >SW<br><span class="comp sa4" title="Wind blowing from 220° Southwest to Northeast">↑</span></td><td>WSW<br><span class="comp sa6" title="Wind blowing from 250° West-southwest to East-northeast">↑</span></td><td>W<br><span class="comp sa8" title="Wind blowing from 280° West to East">↑</span></td><td>W<br><span class="comp sa8" title="Wind blowing from 260° West to East">↑</span></td><td class="sep-l " >SW<br><span class="comp sa4" title="Wind blowing from 230° Southwest to Northeast">↑</span></td><td>SW<br><span class="comp sa4" title="Wind blowing from 230° Southwest to Northeast">↑</span></td></tr><tr ><th>Humidity</th><td>82%</td><td class="sep-l " >94%</td><td>95%</td><td>77%</td><td>85%</td><td class="sep-l " >92%</td><td>96%</td></tr><tr ><th>Dew Point</th><td>4&nbsp;°C</td><td class="sep-l " >6&nbsp;°C</td><td>9&nbsp;°C</td><td>6&nbsp;°C</td><td>6&nbsp;°C</td><td class="sep-l " >6&nbsp;°C</td><td>8&nbsp;°C</td></tr><tr ><th>Visibility</th><td>7&nbsp;km</td><td class="sep-l " >6&nbsp;km</td><td>5&nbsp;km</td><td>7&nbsp;km</td><td>5&nbsp;km</td><td class="sep-l " >7&nbsp;km</td><td>5&nbsp;km</td></tr><tr ><th>Probability of Precipitation</th><td>24%</td><td class="sep-l " >25%</td><td>61%</td><td>27%</td><td>27%</td><td class="sep-l " >31%</td><td>18%</td></tr><tr ><th>Amount of Rain</th><td>0.6  mm</td><td class="sep-l " >2.2  mm</td><td>2.1  mm</td><td>0.6  mm</td><td>0.6  mm</td><td class="sep-l " >0.6  mm</td><td>0.3  mm</td></tr><tr ><th>Amount of Snow</th><td>0.0  mm</td><td class="sep-l " >0.0  mm</td><td>0.0  mm</td><td>0.0  mm</td><td>0.0  mm</td><td class="sep-l " >0.0  mm</td><td>0.0  mm</td></tr></tbody><tfoot><tr><td colspan=8 class=tc><span class=img-caption>* Updated dimanche 26 octobre 2025 14 h 42 m 31 Sarreguemines time - Weather by CustomWeather, &copy; 2025</span></td></tr></tfoot></table></div><p class=lk-block><a href="/weather/@6454374/ext" class=read-more>14 day forecast, day-by-day</a><a href="/weather/@6454374/hourly" class="fr read-more mgr15">Hour-by-hour forecast for next week</a></p></div><div class="four columns"><div class="bg-b pd10 mgb25"><img class="mtt fr" title="Passing clouds." src="//c.tadst.com/gfx/w/svg/wt-14.svg" width=60 height=60><h3 class=mgt0>Yesterday's weather</h3><p>Passing clouds. 12 / 8&nbsp;°C<br>Humidity: 83%. Wind: 27 km/h <span class="comp sa4" title="Wind blowing from 230° Southwest to Northeast">↑</span> from Southwest</p><p class="tr lk-block pdr25"><a href="/weather/@6454374/historic" class=read-more>More weather last week</a></p></div><div class="bg-b pd10 mgb25"><h3 class="mgt0 tc">Currently at nearby stations</h3><div class=clear><div class="clear fr tc"><img class=mtt title="Passing clouds." src="//c.tadst.com/gfx/w/svg/wt-14.svg" width=40 height=40><span class=block>6&nbsp;°C</span></div><h3 class=mgb0>Strasbourg Airport: <span class="soft smaller">(76&nbsp;km)</span></h3><p>Passing clouds.</p></div><div class=clear><div class="clear fr tc"><img class=mtt title="Clear." src="//c.tadst.com/gfx/w/svg/wt-13.svg" width=40 height=40><span class=block>6&nbsp;°C</span></div><h3 class=mgb0>Nancy / Ochey: <span class="soft smaller">(100&nbsp;km)</span></h3><p>Clear.</p></div><div class=clear><div class="clear fr tc"><img class=mtt title="Light rain. Overcast." src="//c.tadst.com/gfx/w/svg/wt-34.svg" width=40 height=40><span class=block>7&nbsp;°C</span></div><h3 class=mgb0>Luxeuil: <span class="soft smaller">(156&nbsp;km)</span></h3><p>Light rain. Overcast.</p></div><p class="tr lk-block clear pdr25"><a href="/weather/france" class=read-more>More weather in France</a></p></div><div class=clearfix></div></div>
</div></section><section class="pdflexi bg-sect"><div class=fixed><h2 class=mgt0>Forecast for the next 2 weeks</h2><div class=tb-scroll><span>Scroll right to see more</span><table id=wt-14d class="zebra tb-wt fw tc"><thead><tr class=bg-wt><th>lun</th><th>mar</th><th>mer</th><th>jeu</th><th>ven</th><th>sam</th><th>dim</th></tr></thead><tbody><tr ><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>27</div><img class=mtt title="Light rain. Cloudy." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>12 / 7&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>28</div><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>14 / 7&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>29</div><img class=mtt title="Sprinkles late. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>14 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>30</div><img class=mtt title="Sprinkles. Cloudy." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>16 / 11&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>31</div><img class=mtt title="Drizzle. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>15 / 12&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>1</div><img class=mtt title="Mostly cloudy." src="//c.tadst.com/gfx/w/svg/wt-6.svg" width=60 height=60><p>16 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>2</div><img class=mtt title="Rain showers. Overcast." src="//c.tadst.com/gfx/w/svg/wt-33.svg" width=60 height=60><p>16 / 10&nbsp;°C</p></td></tr><tr ><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>3</div><img class=mtt title="Rain. Overcast." src="//c.tadst.com/gfx/w/svg/wt-19.svg" width=60 height=60><p>13 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>4</div><img class=mtt title="Mostly cloudy." src="//c.tadst.com/gfx/w/svg/wt-6.svg" width=60 height=60><p>13 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>5</div><img class=mtt title="Rain showers. Overcast." src="//c.tadst.com/gfx/w/svg/wt-33.svg" width=60 height=60><p>13 / 10&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>6</div><img class=mtt title="Sprinkles early. Morning clouds." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>13 / 10&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>7</div><img class=mtt title="Sprinkles. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>14 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>8</div><img class=mtt title="Mostly cloudy." src="//c.tadst.com/gfx/w/svg/wt-6.svg" width=60 height=60><p>15 / 9&nbsp;°C</p></td><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>9</div><img class=mtt title="Sprinkles late. Overcast." src="//c.tadst.com/gfx/w/svg/wt-18.svg" width=60 height=60><p>15 / 9&nbsp;°C</p></td></tr><tr ><td class="wa"  onclick="wl(&#39;/weather/@6454374/ext&#39;)"><div class=wt-dn>10</div><img class=mtt title="Cloudy." src="//c.tadst.com/gfx/w/svg/wt-7.svg" width=60 height=60><p>15 / 10&nbsp;°C</p></td><td class="wna" ><div class=wt-dn>11</div></td><td class="wna" ><div class=wt-dn>12</div></td><td class="wna" ><div class=wt-dn>13</div></td><td class="wna" ><div class=wt-dn>14</div></td><td class="wna" ><div class=wt-dn>15</div></td><td class="wna" ><div class=wt-dn>16</div></td></tr></tbody></table></div><p class="tr lk-block"><a href="/weather/@6454374/ext" class=read-more>Detailed forecast for 14 days</a></p></div></section><script type="text/javascript">
TAD.dec=",";TAD.sep=" ";et=1761675794;
function f0(d){return TAD.ld[d.getUTCDay()]+' '+d.getUTCDate()+' '+TAD.lm[d.getUTCMonth()]+' '+d.getUTCFullYear()+', '+p2(d.getUTCHours())+' h '+p2(d.getUTCMinutes())+' m '+p2(d.getUTCSeconds());}
function f1(d){return d.getUTCDate()+' '+TAD.sm[d.getUTCMonth()]+' '+d.getUTCFullYear()+', '+p2(d.getUTCHours())+' h '+p2(d.getUTCMinutes())+' m '+p2(d.getUTCSeconds());}
cks={"wtct":{"t":[{"o":3600,"a":"CET"}],"f":f1,"g":{"t":2}}};
TAD.lm=[];TAD.lm[9]='octobre';TAD.sm=[];TAD.sm[9]='oct';TAD.ld=[];TAD.ld[0]='dimanche';TAD.ld[1]='lundi';TAD.ld[2]='mardi';
</script><div class="fixed"><p class="help-link noprint"><a href="/weather/city-help.html">Need some help?</a></p>
</div></article>
<aside class="layout-grid__sky layout-grid__sky--sticky tpl-banner__sky"><fieldset id=ad1><legend>Advertising</legend><div id='div-gpt-com-300x600'><script>
AdMgr.dispSlot(0);
</script>
</div></fieldset></aside></main>
<script src="//c.tadst.com/com/common/wcommon_35.js"></script>
</div></div>
<footer class="footer"><section class="feedback-bar"><div class="fixed feedback-bar__wrap"><section id="instant-feedback" class="feedback-bar__instant-feedback"><span class="feedback-bar__msg">How was your experience?</span>
<span class="feedback-bar__thankyou">Thank you for your feedback!</span>
<a href="#" onclick="return blif(1)" class="feedback-bar__thumb feedback-bar__thumb--up" title="Vote Good" aria-label="Vote for having a good experience"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"/></svg></a>
<a href="#" onclick="return blif(0)" class="feedback-bar__thumb feedback-bar__thumb--down" title="Vote Bad" aria-label="Vote for having a bad experience"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"/></svg></a></section>
<section class="feedback-bar__contact"><a id=bls1 href="/information/feedback.html" onclick="return bls(this)">Contact Us
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/><path d="M0 0h24v24H0z" fill="none"/></svg></a></section></div></section>
<section class="fixed footer__wrap"><section class="footer__block footer__block--promo"><article class="footer-card"><a href="/services/supporter.html" class="footer-card__img-link"><img class="footer-card__img" width="100" height="100" src="//c.tadst.com/gfx/n/i/service__supporter.svg" loading="lazy" alt="Illustration of a pink shield with a white heart." /></a>
<section class="footer-card__content"><h4 class="footer-card__title"><a href="/services/supporter.html">Love Our Site? Become a Supporter
</a></h4>
<ul class="footer-card__text"><li>Browse our site <strong>advert free.</strong></li>
<li>Sun &amp; Moon times <strong>precise to the second.</strong></li>
<li><strong>Exclusive calendar templates</strong> for PDF Calendar.</li></ul></section></article>
<section class="footer__logo"><a href="/" rel="home"><img src="//c.tadst.com/gfx/n/logo/logo-2021--horizontal-color-whitebg.svg" loading="lazy" alt="The timeanddate logo" width="176" height="24"></a>
<p><a href="/information/copyright.html">© Time and Date AS 1995–2025</a></p></section></section>
<section class="footer__block footer__block--links-wrap"><section class="footer__links"><nav class="footer__links-block footer__links-block--company"><h4>Company</h4>
<ul><li><a href="/company/">About us</a></li>
<li><a href="/company/jobs">Careers/Jobs</a></li>
<li><a href="/information/feedback.html" id=bls2 onclick="return bls(this)">Contact Us</a></li>
<li><a href="/information/contact.html">Contact Details</a></li>
<li><a href="/sitemap.html">Sitemap</a></li>
<li><a href="/newsletter/">Newsletter</a></li></ul></nav>
<nav class="footer__links-block footer__links-block--legal"><h4>Legal</h4>
<ul><li><a href="/information/copyright.html">Link policy</a></li>
<li><a href="/information/advertising.html">Advertising</a></li>
<li><a href="/information/disclaimer.html">Disclaimer</a></li>
<li><a href="/information/terms-conditions.html">Terms &amp; Conditions</a></li>
<li><a href="/information/privacy.html">Privacy Policy</a></li>
<li><a href="javascript:openprivacy()">Privacy Settings</a></li>
</ul></nav>
<nav class="footer__links-block footer__links-block--services"><h4>Services</h4>
<ul><li><a href="/worldclock/">World Clock</a></li>
<li><a href="/time/">Time Zones</a></li>
<li><a href="/calendar/">Calendar</a></li>
<li><a href="/weather/">Weather</a></li>
<li><a href="/astronomy/">Sun &amp; Moon</a></li>
<li><a href="/counters/">Timers</a></li>
<li><a href="/date/">Calculators</a></li>
<li><a href="/services/api/">API</a></li>
<li><a href="/extra/">Apps</a></li>
<li><a href="/information/rss-feeds.html">RSS Feeds</a></li>
</ul></nav>
<nav class="footer__links-block footer__links-block--sites"><h4>Sites</h4>
<ul><li><a href="https://www.timeanddate.no">timeanddate.no</a></li>
<li><a href="https://www.timeanddate.de">timeanddate.de</a></li>
</ul></nav>
<section class="footer__social"><h4>Follow Us</h4>
<div class="footer__social-icons"><a href="https://www.facebook.com/timeanddate/"><i class="footer__social-icon footer__social-icon--facebook" title="timeanddate.com on Facebook"></i></a>
<a href="https://twitter.com/timeanddate"><i class="footer__social-icon footer__social-icon--twitter" title="timeanddate.com on Twitter"></i></a>
<a href="https://www.linkedin.com/company/time-and-date-as/about/"><i class="footer__social-icon footer__social-icon--linkedin" title="timeanddate.com on Linkedin"></i></a>
<a href="https://www.instagram.com/timeanddatecom/"><i class="footer__social-icon footer__social-icon--instagram" title="timeanddate.com on Instagram"></i></a>
<a href="https://www.youtube.com/c/timeanddate"><i class="footer__social-icon footer__social-icon--youtube" title="timeanddate.com on YouTube"></i></a></div></section></section>
<p class="footer__copyright">© Time and Date AS 1995–2025.
<a href="/information/copyright.html">Privacy &amp; Terms</a></p></section></section></footer>
<script>
bli();main();
</script>
<div id=FBD style="display:none" class=wfc></div>
<script>
openprivacy=function(){
    if(window.cmpOpen){
        window.cmpOpen();
    }else if(window.__tcfapi){
        __tcfapi('displayConsentUi',2,function(){});
    }
};
</script></body></html>

@+


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

#4671 Today 19:25:33

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,138
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Well, here is the end result for my simplified moon with just the info I want.  I know there are probably dozens of these in the threads, but good!  Variety:)  @marens, you are most welcome, and thank you for your help getting things figured out.

 -- pkill -xf "conky -c /path/to/conkyrc" &
-- idea from "El Conkystador" @Sector11
-- 2020-09-26; 2021-02-01 conkyV1.10 @unklar


conky.config = {
own_window = true,
own_window_type = 'normal',

own_window_transparent = true,
-- own_window_argb_visual = true,
-- own_window_argb_value = 0,

own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '000000',
own_window_class = 'Conky',
--own_window_title 4_Moon Teo Style


minimum_width = 400, minimum_height = 180,
maximum_width = 400,

alignment = 'top_right',
gap_x = 100, -- l|r
gap_y = 60, -- u|d
 
use_xft = true,
font = 'DejaVu Sans regular:size=8',
 --xftfont Fantasque Sans Mono:bold:size=9
 -- font = 'Fira Code:medium:size=8',

-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1.0,

-- Force UTF8? requires XFT ###
override_utf8_locale = true,

uppercase = false,

draw_shades = true,
default_shade_color = '000000',
draw_outline = false,
default_outline_color = '000000',

default_color = '#c4c4c4',
color1 = 'ffffff', --white
color2 = '77D18F', --green information
color3 = 'D64449', --red
color4 = '78D690', --lightgreen main date
color5 = 'BD924C', --orange-brown
color6 = 'A5CCD1', --blue
color7 = 'D64D68', --magenta
color8 = '439962',--darkgreen dates
color9 = 'CD5C5C',--IndianRed

draw_borders = false,

-- Stippled borders?
stippled_borders = 5,

-- border margins
border_inner_margin = 5,
border_outer_margin = 0,

-- border width
border_width = 2,

-- graph borders
draw_graph_borders = true,
--default_graph_size 15 40

-- Boolean value, if true, Conky will be forked to background when started.
background = true,

-- 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 6144

-- Subtract (file slystem) buffers from used memory?
no_buffers = true,

-- change GiB to G and MiB to M
short_units = true,

-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable th0e image cache.
imlib_cache_size = 0,

-- 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 = true,
--#############################################  End Miscellaneous Section  ###
update_interval = 1,
	
-- LUA --	
-- lua_load = '~/.conky/scripts/draw_bg.lua',
-- lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',

};

conky.text = [[
${texeci 1800 bash $HOME/Moongiant_conky_script/moongiant}
${voffset 24}${font DejaVu Sans:regular:size=8}${alignr}${color}${execi 3600 echo `date "+%a %H:%M"`}${voffset 10}
${image $HOME/Moongiant_conky_script/-2.png -p 8,65 -s 60x60}
${image $HOME/Moongiant_conky_script/-1.png -p 81,50 -s 65x65}
${image $HOME/Moongiant_conky_script/0.png -p 160,28 -s 90x90}
${image $HOME/Moongiant_conky_script/1.png -p 263,50 -s 65x65}
${image $HOME/Moongiant_conky_script/2.png -p 340,65 -s 60x60}
${font DejaVu Sans:regular:size=9}\
${color}${goto 25}${voffset 2}${execi 3600 echo `date --date="-2 day" | awk '{print $3" "$2}'`}${voffset -2}\
${goto 101}${voffset -5}${execi 3600 echo `date --date="-1 day" | awk '{print $3" "$2}'`}${voffset 5}\
${font DejaVu Sans:regular:size=10}${color}${goto 191}${voffset -7}${execi 3600 echo `date "+%^d %b"`}${color}${voffset 7}\
${font DejaVu Sans:regular:size=9}${goto 281}${voffset -5}${color}${execi 3600 echo `date --date="+1 day" | awk '{print $3" "$2}'`}${voffset 5}\
${goto 358}${voffset 2}${execi 3600 echo `date --date="+2 day" | awk '{print $3" "$2}'`}${voffset -2}
${voffset 10}${color}\
${goto 16}${font DejaVu Sans:regular:size=8.5}Rise/Set:  ${execpi 600 sed -n '22p' $HOME/Moongiant_conky_script/raw}${alignr}Moon Age:  ${alignr}${execpi 600 sed -n '24p' $HOME/Moongiant_conky_script/raw}
${goto 16}Illumination:  ${execpi 600 sed -n '23p' $HOME/Moongiant_conky_script/raw}${alignr}Phase:  ${execpi 600 sed -n '21p' $HOME/Moongiant_conky_script/raw}
]];

moon1.png

Last edited by sleekmason (Today 19:34:10)

Offline

#4672 Today 19:45:50

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@loutch

Your weather_raw file only shows "Now" + 4 hours.

 class=h2 ><td>Now</td><td>20 h 00</td><td>21 h 00</td><td>22 h 00</td><td>23 h 00</td><td>00 h 00</td></tr><tr ><td><img 

This is how it looks in the terminal (HOME/weather_raw):

$ cat $HOME/weather_raw | grep ' ><td><img class=mtt title=' | awk -F' h ' '{print $3}' | awk -F'td><td>' '{print $2}' | sed 's/$/:00/'
20:00

$ cat $HOME/weather_raw | grep ' ><td><img class=mtt title=' | awk -F' h ' '{print $4}' | awk -F'td><td>' '{print $2}' | sed 's/$/:00/'
21:00

$ cat $HOME/weather_raw | grep ' ><td><img class=mtt title=' | awk -F' h ' '{print $5}' | awk -F'td><td>' '{print $2}' | sed 's/$/:00/'
22:00

$ cat $HOME/weather_raw | grep ' ><td><img class=mtt title=' | awk -F' h ' '{print $6}' | awk -F'td><td>' '{print $2}' | sed 's/$/:00/'
23:00

$ cat $HOME/weather_raw | grep ' ><td><img class=mtt title=' | awk -F' h ' '{print $7}' | awk -F'td><td>' '{print $2}' | sed 's/$/:00/'
00:00

It might be better to use the date command in Conky:

$ date -d '+1 hour' '+%H:00'
21:00

$ date -d '+2 hour' '+%H:00'
22:00

$ date -d '+3 hour' '+%H:00'
23:00
...

Enjoy.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#4673 Today 19:58:22

loutch
Member
Registered: 2015-12-12
Posts: 904

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Re


Tanks , work fine .


@+


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

#4674 Today 20:03:20

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 910

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@sleekmason

As I said, I love it when someone uses the moongiant script.
The Moon images look exactly as I wanted.

You may not believe me, but it took me a month to achieve this effect.
Now the Moon in conky looks the same as in the sky.

More or less yellow color does not matter.  smile

Last edited by marens (Today 20:08:40)


If people would know how little brain is ruling the world, they would die of fear.

Offline

Board footer

Powered by FluxBB