New GNOME Extension: Display the Current Hijri (Islamic) Date in Your Top Panel
Posted by Unique-Twist1587@reddit | linux | View on Reddit | 27 comments
Check out my new GNOME Shell extension, which brings the Hijri Date directly to your top panel.
🌙 Features
- Current Hijri Date in the Top Panel.
- User-Adjustable Date Offset: Fine-tune the date (±3 days) to match your local moon sighting.
- Color Customization: Pick your favorite date color with a built-in color picker.
- Location-Based Sunset Calculation: As day begins after sunset
- Panel Positioning: Choose to display the date on the left or right side of the top panel.
- Automatic Daily Updates: The date updates automatically based on system time and sunset calculations.
- Easy Preferences Dialog: Configure everything through a simple graphical interface—no need to edit code!
🖥️ Tested On GNOME Shell Versions
Version 5 (Basic, date display only):
- GNOME 3.36.8 (Ubuntu 20.04 LTS)
- GNOME 3.38.1 (Fedora 33 Workstation)
In Version 5 to adjust according to local moonsighting, go to the extension homepage and change in extension.js - if there is enough need as these are old version of gnome, I will try to develop or atleast try to update the instructions in this post or github.
Version 17 (Full-featured):
- GNOME 40.4.0 (Ubuntu Impish Indri dev)
- GNOME 41.0 (Fedora 35 Workstation)
- GNOME 42.9 (Pop!_OS 22.04 LTS)
- GNOME 43.0 (Fedora 37 Workstation)
- GNOME 44.0 (Fedora 38 Workstation)
I know that newer gnome versions are not supported, it is because I am not using them and from gnome 45+, I will have to rewrite and release another version. But if there is demand I will try to deliver, insha Allah.
🔗 Get the Extension & Learn More
- Official gnome extensions website : https://extensions.gnome.org/extension/5995/hijri-date-extension/
- GitHub: github.com/Ameen-Sha-Cheerangan/Hijri-Date-Gnome-Extension
Disclaimer : Don't rely for important things like fasting and other religious activities. Date might differ if you haven't adjusted to local moonsighting or if something goes wrong.
If you find this extension helpful, I’d really appreciate it if you gave it a ⭐️ on GitHub or rated it on the GNOME Extensions website. Your feedback and support mean a lot and help others discover the project too!
Your feedback, suggestions, and contributions are always welcome.
anche_tu@reddit
Nice work!
Unique-Twist1587@reddit (OP)
thank you
Unique-Twist1587@reddit (OP)
Don't understand why this post is getting more downvotes than upvotes
MatchingTurret@reddit
Because it's not relevant to r/linux.
Unique-Twist1587@reddit (OP)
I didnt knew, But I feel it is okay, seeing the earlier posts🤷
McDonaldsWitchcraft@reddit
It's a good quality post and I feel it is relevant to this sub as well, but you can maybe try posting on r/GNOME too.
Unique-Twist1587@reddit (OP)
52% upvote ratio, means, I got some 150 likes, but still showing 6, haaa its okay.
diligentgrasshopper@reddit
???? literally the front page has a bunch of announcements about new versions/releases of random open source tools (i make a thing in rust that does xyz via the terminal!!), but sure call this one specific post irrelevant
MatchingTurret@reddit
That's not on me. See https://www.reddit.com/r/linux/comments/1kqzgpa/comment/mt9od2e
khsh01@reddit
Idiots read Islam and jump to Fox News conclusions or some MAGA nonsense.
10MinsForUsername@reddit
I had no idea Reddit contains the maga dudes...
rlinED@reddit
They sure are a minority.
angora_cat44@reddit
Is Quran FOSS?
DesNilpferdsLenker@reddit
Maybe this is stupid trolling, but: Can a book qualify? I remember somebody exporting illegal-to-export code as a book, but in the end it's code, which makes software.
There is, as in every major religion, a lot of forking going on, and a lot of heated debate about the best/correct version. The original copyright owner surely will not enforce it, so maybe Islam is Abandonware?
But by this tangent, the many biblical rewrites and add ons surely make christianity open source, as nobody can stop you from creating your own weird distro. Just ask the mormons.
I'm sure I can think of a couple more hornets nests I can swing this bat at, but honestly, my intention is just theorizing which terms could even be applicable, not comment on any particular religion/culture in terms of superiority.
In any case: Thank you, noted for the one muslim on our dev team :)
DriNeo@reddit
I think you are not free to update the source.
10MinsForUsername@reddit
Is your mom proprietary?
zxuvw@reddit
Amazing work. Thanks
Unique-Twist1587@reddit (OP)
You are welcome.
obeywasabi@reddit
Great work man
Unique-Twist1587@reddit (OP)
Thank you
Overall-Repeat-9973@reddit
Thanks i will try it
Unique-Twist1587@reddit (OP)
You are welcome, let me know how it goes
IntelligentStation3@reddit
Jazakallah for this
Unique-Twist1587@reddit (OP)
wa iyyaka
FryChy@reddit
Nice. I have been trying to get one for Azan in KDE, I found a a very good one in Cinnamon but after moving to KDE the Prayer Times widget there does not have proper options for choosing location and also is based on different time calculation.
Unique-Twist1587@reddit (OP)
Thank you
LateNightProphecy@reddit
Alhamdullilah