Adding moon phase module
This commit is contained in:
parent
e939d54eaf
commit
78d9bdda27
@ -54,6 +54,8 @@ class MoonPhase(IntervalModule):
|
||||
|
||||
}
|
||||
|
||||
color = "#ffffff"
|
||||
|
||||
phase_color = {
|
||||
"New Moon": "#00BDE5",
|
||||
"Waxing Crescent": "#138DD8",
|
||||
@ -112,6 +114,8 @@ class MoonPhase(IntervalModule):
|
||||
|
||||
def run(self):
|
||||
|
||||
color = self.color
|
||||
|
||||
fdict = {
|
||||
"status": self.status[self.current_phase()],
|
||||
"illum": self.illum(),
|
||||
|
Loading…
Reference in New Issue
Block a user