giovannicoppola / alfred-convert

Convert between different units in Alfred
Other
57 stars 1 forks source link

Shortcut for Celsius <-> fahrenheit conversion #3

Closed johntdyer closed 7 months ago

johntdyer commented 1 year ago

because I'm to lazy to do the math in my head it would be nice if Fahrenheit to Celsius was more of a first class function... I've only been able to get it to work by doing

conv 80 fahrenheit celsius

which is a lot of letters : Also its worth mentioning that its also case sensitive, conv 80 Fahrenheit Celsius wont work. IT would be nice if were something more along the lines of

conv 80c to f
fmeilleur commented 1 year ago

If you feel adventurous, you can edit the default_en.txt file and change degC = kelvin; offset: 273.15 = celsius to degC = kelvin; offset: 273.15 = celsius = C and so on...

Doing so will enable you to type conv 80 C F and get the result you want.

giovannicoppola commented 8 months ago

@johntdyer you might want to check the new Unit Converter from the Alfred team, it's fast and a bit more flexible.

image