Shows Persian date in the top panel. It shows: 1. Persian calendar 2. It can show, today is a holiday or not! 3. Show notification onDayChanged! 4. Date converter between Persian, Gregorian and Lunar Hijri 5. Events: 5.1. Official solar events. 5.2. Official lunar events. 5.3. Official international events. 5.4. Traditional Persian events. 5.5. Persian personages. Please โrateโ here and โstarโ the project on GitHub. Please open an issue on GitHub if you found something or have an idea!
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
It would be awesome if you can lead me how i can disable/enable the extension. the old way doesn't work and i just realized ๐
Pass `this` from the entry point (dependency injection). That class can catch `this` as `extension` and use `extension.enable()` or `extension.disable()`. But I recommend to remove and recreate the feature rather than disabling and re-enabling the entire extension. Just keep in mind, `enable()` and `disable()` functions are async.
Thanks. Removing makes sense. How can I remove it? The opposite of `Main.panel.addToStatusArea(...)`?
You can simply use destroy: ```js indicator.destroy(); indicator = null; ``` or use `remove_child()`: ``` removeIndicator(indicator) { let container = indicator.container; container.get_parent()?.remove_child(container); } ```
Thanks ๐