Displays Persian (Iranian/Jalali) calendar in the top panel It offers: 1. Displays the Persian/Iranian/Jalali calendar 2. Holiday indicator 3. Day change notifications 4. Converts dates between the Persian, Gregorian, and Hijri (lunar) calendars 5. Event listings: 5.1. Official solar events 5.2. Official lunar events 5.3. Official international events 5.4. Traditional Persian events 5.5. Notable Persian figures Please “rate” the project here and give it a “star” on GitHub. If you encounter any issues or have suggestions, feel free to open an issue there on GitHub!
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
As far as I saw, we cannot style (Or RTLized) the notification title/body. :/
I haven't tried it, but did you try the `lang` markup? https://web.mit.edu/ghudson/dev/nokrb/third/pango/docs/html/PangoMarkupFormat.html You should enable the markup for the notification btw.
Thanks. Nope, it works, but partially. <b> and <i> works, but <span> doesn't. The code below, prints `<span...` as normal text, but prints "cool" in italic. So it prints something like: `<span foreground="blue" size="x-large">Blue text</span> is cool!` ``` new MessageTray.Notification({ source, title, iconName, isTransient: true, body: '<span foreground="blue" size="x-large">Blue text</span> is <i>cool</i>!', useBodyMarkup: true, }); ```
Set the `text_direction` to the `Clutter.TextDirection.RTL` for the notification.
Notification system just keeps <b>, <i> and <u>: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/util.js#L189 Thanks a lot. I'll try your second solution 🙏
I couldn't find how I can set text_direction for the notification. I think it doesn't accept anything from outside: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/messageTray.js#L1121 And I shouldn't change the CSS, because it's global!