You are not logged in.
Pages: 1
Website:
I must admit that I haven't checked this excellent script by @TBG for a long time.
The reason is probably that I only use the current moon image (0.png) in accuweather conky:
The file ~/Moongiant_conky_script/raw appears normal, except for lines 25 and 27, where an unwanted piece of HTML code has appeared.
I easily removed that by adding -e 's/°//g' to the end of this line within the moongiant script (it should look like this):
sed -i -e 's/^.*moon_day_//g' -e 's/^ *<b>//g' -e's/<\/b><br>/\n/g' -e 's/^.*Phase: <span>//g' -e 's/^.* Illumination: <span>//g' -e 's/^.*Moon Age: <span>//g' -e 's/^.*Moon Angle: <span>//g' -e 's/^.*Moon Distance: <span>//g' -e 's/^.*Sun Angle: <span>//g' -e 's/^.*Sun Distance: <span>//g' -e '/<div class=\| Full Moon Calendar\|<h2 class=/d' -e 's/\.png.*$//g' -e 's/\.jpg.*$//g' -e 's/<br>$//g' -e 's/<br>/\n/g' -e 's/Illumination: <span>//' -e 's/<\/span>$//g' -e 's/<\/span>//g' -e 's/°//g' $HOME/Moongiant_conky_script/raw
#### ^^^^ -e 's/°//g' Marens Settings - 30.11.2026You can also use -e 's/°/°/g' if you want to immediately get the " ° " sign in the file ~/Moongiant_conky_script/raw.
This was not done to preserve @TBG's original work.
As far as I can see, lines 25 and 27 refer to some angles that I don't use in my "Weather & Moon" conky:
Note *
Here is my moongiant script plugin, which displays the Moon in real time—exactly as it appears in the sky—along with its illumination angle and visibility
https://forums.bunsenlabs.org/viewtopic … 46#p128546
EDIT:
Better explained.
Last edited by marens (Today 02:05:19)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Pages: 1