wolph / alfred-converter

Alfred unit converter is a smart calculator for Alfred with support for unit conversions to make it a bit comparable to the Google Calculator and Wolfram Alpha.
93 stars 15 forks source link

Allow disabling of specific conversions and/or units #26

Closed wolph closed 3 years ago

wolph commented 4 years ago

Perhaps environment variables such as:

DISABLE_INCH=femtometer,angstrom,fathoms
DISABLE_CLARKE_LINK=true
wolph commented 3 years ago

This is now possible by adding words to the UNITS_BLACKLIST variable. It's separated by space, case insensitive and needs to match the exact word (i.e. yard will not match yards)