Alfred 3 workflow to search in Salesforce.
sfto search for any contact, account, opportunity, lead
sf > loginto connect
sf > logoutto log out
sf > debugto open some debugs logs
sf > switchto switch the opening between Salesforce Classic and Salesforce Lightning
Version 0.0.4 was successfully tested with Alfred 4.1.1 on macOS Catalina (10.15.4). It should work with Alfred 3+ on High Sierra and later.