action#

You can use one of the following hotkey to do anything using the selected item.

This module provides some common actions that you can use directly.

zelfred.action.open_url(url: str)[source]#

Open a URL in the default browser.

zelfred.action.open_file(path: Path)[source]#

Open a file in the default application.

zelfred.action.copy_text(text: str)[source]#

Copy text to clipboard.

zelfred.action.send_mac_notification(title: str, subtitle: str)[source]#

Send a MAC notification.

This feature is based on the macos-notifications Python library.

However, this is not working on MacOS > 11.0, because of the API this library

is using is deprecated. See this discussion for more details https://github.com/Jorricks/macos-notifications/issues/8.