You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest adding a minimal calculator function to tofi.
I understand that the main purpouse of tofi is to be a minimal app launcher.
But I believe having an intermediate calculation feature for basic operations would be a very handy addition.
Sometimes, one just wants to quickly sum up 2 or 3 numbers. Of course they could just open a calculator application and type them in, but that would be much slower.
MacOS Finder has a similar feature, I believe?
For instance, typing a query like (4+10)*2 could display the result 28, perhaps highlighted slighlty differently to the right of the query.
I think such a feature wouldn’t detract from tofi's main function as an app launcher.
I think it would make it better. Also, no need to do anything super fancy here, the only basic operations I think that would make sense to support are:
Addition +
Multiplication *
Subtraction -
Division /
Power **
Parenthesis for precedence()
Any calculation more complex than that shouldn't be part of tofi and require launching a dedicated calculator app.
I think it would also make sense to not have this feature by default by hide it behind a cli flag, e.g. --calc, or something like that.
Thoughts?
The text was updated successfully, but these errors were encountered:
I would like to suggest adding a minimal calculator function to tofi.
I understand that the main purpouse of tofi is to be a minimal app launcher.
But I believe having an intermediate calculation feature for basic operations would be a very handy addition.
Sometimes, one just wants to quickly sum up 2 or 3 numbers. Of course they could just open a calculator application and type them in, but that would be much slower.
MacOS Finder has a similar feature, I believe?
For instance, typing a query like
(4+10)*2
could display the result28
, perhaps highlighted slighlty differently to the right of the query.I think such a feature wouldn’t detract from tofi's main function as an app launcher.
I think it would make it better. Also, no need to do anything super fancy here, the only basic operations I think that would make sense to support are:
+
*
-
/
**
()
Any calculation more complex than that shouldn't be part of tofi and require launching a dedicated calculator app.
I think it would also make sense to not have this feature by default by hide it behind a cli flag, e.g.
--calc
, or something like that.Thoughts?
The text was updated successfully, but these errors were encountered: