You are not logged in.

#4681 Today 09:48:47

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

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

Hello

@ marens great job as well, but don't work by me , i have wind direction in french , if i rest in english that work great .

in french i have du , d' instead of from

du Sud-ouest

d'Est

@+

Last edited by loutch (Today 10:13:16)


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

#4682 Today 14:16:20

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

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

^ Do the same as me.

wd=$(sed -n '10p' $HOME/time_and_date_conky_script/now | sed 's/do //' | sed 's/Sud/S/' | sed 's/sud/S/' | sed 's/Ouest/W/' | sed 's/ouest/W/' | sed 's/d'Est/E/' | sed 's/d'est/E/' | sed 's/Nord/N/' | sed 's/nord/N/' |....| sed 's/-//' | sed 's/$/.png/')

You need to check all possible combinations in French and replace them with E, W, N or S using the sed command.
Just add to the unfinished line above.


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

Offline

Board footer

Powered by FluxBB