Giter VIP home page Giter VIP logo

shamsi-calendar-plasmoid's Introduction

KDE Plasma Shamsi Calendar

Integrate the Persian (Shamsi - Jalali) calendar into your KDE Plasma desktop with the Shamsi Calendar Plasmoid. Developed with precision and user-centric design, this plasmoid has evolved from a personal project to a feature-rich tool tailored to your needs.

You can find and download the Shamsi Calendar plugin on the KDE Store here.

Features

  • Multi-language support for a personalized experience.
  • 5 adjustable events types.
  • Navigate using stack navigation.
  • Display dual parallel configurable texts (Primary and Secondary) on the panel.
  • Personalize colors, fonts, sizes, and events to suit your style.
  • And more!

Shamsi Calendar Plasmoidscreenshot

KDE Store - CHANGELOG

Requirement

Plasma Version Widget Version
5.25 and above 2.x
5.24 and below 1.x

Check: plasmashell --version

Install/Update 📦

You've got two options to get this plasmoid up and running: you can either grab it from the KDE Store or follow these simple steps below.

1. Clone/Download repo:

Let's get the plasmoid's source code. Open your terminal again and enter:

git clone https://github.com/amirnajaffi/shamsi-calendar-plasmoid.git

2. Open directory:

Navigate into the newly created directory:

cd shamsi-calendar-plasmoid

*Optional: If you're feeling nostalgic and want to install version 1 (or! maybe your out of Requirement of v2), type:

git checkout v1

3. Install:

It's time to bring the magic to life! Use this command in your terminal:

kpackagetool5 -t Plasma/Applet --install package

If you have a previous version installed, use --upgrade in above command instead.


Or alternatively, type in the terminal to remove the previous versions: (And you can re-install the new version after that).

kpackagetool5 -t Plasma/Applet --remove org.kde.plasma.shamsi-calendar

4. Log Out/In

Log out of your system and then log back in. Now everything is done! 😃


As an alternative way simply you can grab the latest .plasmoid file from this page and install it with above commands.

Contributing

Thank you for considering contributing to the KDE Plasma Shamsi Calendar! Any contributions you make are greatly appreciated. You can also check this list.

For major changes, please open an issue first to discuss what you would like to change.

License

Distributed under the GPL v3 License. See LICENSE for more information.

Acknowledgements

FAQ

  • Having Trouble Installing or Updating via KDE Store? If you're facing issues with installation or updates from the KDE Store, don't worry! We've got you covered with a simple manual installation guide.

  • Encountering Errors After Installation? Sometimes, errors might pop up after installation, and that's okay. Often, these errors are caused by having an older version of Plasma. Make sure you have at least the minimum required Plasma version installed. If you're still facing issues, feel free to open a new issue – we're here to help!

shamsi-calendar-plasmoid's People

Contributors

amirnajaffi avatar mokazemi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shamsi-calendar-plasmoid's Issues

افزودن امکان رونوشت تاریخ

درود!
اگر ممکن است امکان رونوشت تاریخ را به ویجت اضافه کنید.
ویجت digital clock پلاسما چنین امکانی دارد. با راست‌کلیک روی ویجت می‌توان رونوشت تاریخ را برداشت.

image

The widget has a high minimum width

Congratulations on your outstanding contribution to KDE widgets!

I'd like to address a concern regarding the widget's size, as it currently occupies a significant portion of my screen. It might be beneficial to consider allowing users to customize its width to better suit their preferences.

Use it in vertical panel

Hi
When I use vertical panel it doesn't show date completely. I change the code in "contents/ui/configGeneral.qml". So I can use simple format to fit the panel.

            model: ListModel {
                id: compactRepresentationFormatComboItems
                ListElement {text: '1399 01 01'; format: 'YYYY MM DD'}
                ListElement {text: '1399-01-01'; format: 'YYYY-MM-DD'}
                ListElement {text: '1399/01/01'; format: 'YYYY/MM/DD'}
                ListElement {text: '1/1'; format: 'M/D'}
                ListElement {text: '1 فروردین'; format: 'D MMMM'}
                ListElement {text: '1'; format: 'D'}
                ListElement {text: '1 فروردین 1399'; format: 'D MMMM YYYY'}
                ListElement {text: 'شنبه 1 فروردین'; format: 'dddd D MMMM'}
                ListElement {text: 'ش 1 فروردین'; format: 'ddd D MMMM'}
                ListElement {text: 'شنبه 1 فرو'; format: 'dddd D MMM'}
                ListElement {text: 'ش 1 فرو'; format: 'ddd D MMM'}
                ListElement {text: '1 فرو'; format: 'D MMM'}
                ListElement {text: 'شنبه 1 فروردین 1399'; format: 'dddd D MMMM YYYY'}
                ListElement {text: 'ش 1 فروردین 1399'; format: 'ddd D MMMM YYYY'}
                ListElement {text: 'شنبه 1 فرو 1399'; format: 'dddd D MMM YYY'}
                ListElement {text: 'ش 1 فرو 1399'; format: 'ddd D MMM YYYY'}
            }

نبود یک روز تعطیل و جابه‌جاشدن مناسبت‌ها

سلام. متوجه شدم روز ۲۵ شهریور ۱۴۰۲ که تعطیل رسمی بود، داخل تقویم به عنوان تعطیل نشان داده نشده.
در واقع تقویم قمری به نظر روز آخر ماه میلادی صفر را ندارد (انگار که ۲۹ روز است) برای همین از آن به بعد یک روز جابه‌جا شده است.

image
image

در چند این‌جا رو دیدم و به نظر درسته:

355, 30, 30, 30, 29, 30, 29, 29, 30 /* :1402_Official_Iranian_Calendar and Temporary_1403: */, 29, 30, 29,

شاید مشکل در تبدیل تاریخ باشه که سر در نیاوردم.

Error in the widget

file:///home/amir/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/ui/main.qml:33:32: Type Calendar unavailable

file:///home/amir/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/ui/Calendar.qml:276:5: Type MonthView unavailable

file:///home/amir/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/ui/MonthView.qml:75:11: Type RoundedHighlight unavailable

file:///home/amir/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/ui/RoundedHighlight.qml:5:1: PlasmaExtras.Highlight is not a type

Error after inserting

Hi
I add it to the panel and it shows an icon. When I click on it shows following error:

Error loading QML file: file:///home/mahdiar/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/ui/main.qml:5:1: Script file:///home/mahdiar/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/js/main.js unavailable
file:///home/mahdiar/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/js/main.js:41:32: Unexpected token `?'
file:///home/mahdiar/.local/share/plasma/plasmoids/org.kde.plasma.shamsi-calendar/contents/js/main.js:41:51: Syntax error

امرداد

ضمن عرض دست‌مریزاد به توسعه‌دهندهٔ عزیز
ای کاش این قابلیت رو هم اضافه می‌کردید که انتخاب کنیم به جای «مرداد» از اسم «امرداد» استفاده بشه.

The date doesn't update automatically

Hi
I'm using it and it's very useful. Thanks for that.
I have a issue that when my PC is working for a night the date doesn't change to the new one automatically. I should click on Today button to correct the date.

ADD TIME FORMATING

Thanks alot for your best job.
Nice looking.
Please add time formating and update reminder.

Development roadmap

Here is the list of features that could be implemented. Don't hesitate to share your opinions here or as a new issue.
I would appreciate if you would like to contribute, just select one and open an issue.

  • Animation for next/prev month/year/decade navigation
  • Show gregorian date and its config(maybe at the left side of footer)
  • Show week number and its config
  • Date converter (action button in footer, open as dialog)
  • Installer file (there is one but not tested yet)
  • Events translation
  • Feedback page
  • Separate selection as stack for month/year/decade
  • Change event/holiday color as config
  • Change font as config
  • Change calendar font mode/size as config
  • Style mode for panel date format as config
  • Secondary line in panel as config
  • Enable/Disable events as config
  • Fa/En language

Font rendering issue

Reproduce in Fedora 36 KDE.
First of all, thank you for creating this awesome widget.

I have this font rendering issue:

Screenshot_20220729_225920
Screenshot_20220729_225956

Which font should I install to fix this problem?

V2 testing

@MasterKia @shosseinib @mahdiar @ekm507

Hi
2.0.0-beta.1 2.0.0-beta.2 released.
I mentioned you based on your previous activity in this repository.
We are in the testing stage, so I would be grateful if you could install and use the new version.
In case of bugs or ideas(#10) feel free to open issue/PR.

Installation guide

  1. Remove previous version:
kpackagetool5 -t Plasma/Applet --remove org.kde.plasma.shamsi-calendar
  1. Log Out/In
  2. Clone/Download repo:
git clone https://github.com/amirnajaffi/shamsi-calendar-plasmoid.git
  1. In root of cloned/downloaded(unzipped) repo:
kpackagetool5 -t Plasma/Applet --install package 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.