Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gnome-calculator:1.0] Release plugin #203

Closed
wants to merge 1 commit into from
Closed

[gnome-calculator:1.0] Release plugin #203

wants to merge 1 commit into from

Conversation

Ghurir
Copy link

@Ghurir Ghurir commented Sep 4, 2024

I couldn't find any app launcher with a calculator function as advanced as the gnome calculator, so I wrote this simple plugin for myself. And I wanted to share it if you liked it.

This plugin executes the 'gnome-calculator' command and returns the result.

Working Features:

  • Basic arithmitics {10*(4+5)^2 = 810 | 9 mod 5 | 140+15%}
  • Functions {sqrt(2;3) | log(4;3) | sin5}
  • Conversion {30 gallon to l = 113,56 | 1m**3 in l = 1000 | 5 deg in rad = 0,087}

Doesn't work

  • Currency conversion
  • several functions such as 'rand' and subscript (to indicate base: 1010₂)

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Sep 4, 2024

Have you seen libqalculate? I mean the calculator shipped with Albert.

@Ghurir
Copy link
Author

Ghurir commented Sep 4, 2024

Have you seen libqalculate? I mean the calculator shipped with Albert.

libqalculate didn't do conversions without entering '=', and while searching for how to fix it I forgot it existed 🫠 :P

@Ghurir Ghurir closed this Sep 4, 2024
@ManuelSchneid3r
Copy link
Member

libqalculate didn't do conversions without entering '=',

intentionally iirc. because it accepts a lot of input. which gives undesired output in the global queries.

we could add an option though i guess for those who want it

@ManuelSchneid3r
Copy link
Member

@ManuelSchneid3r
Copy link
Member

does 0.26.3 serve your purposes?

@Ghurir
Copy link
Author

Ghurir commented Sep 9, 2024

Yes, thank you 🌹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants