/rofi-zotero

Open a Zotero attachment using rofi

Primary LanguagePythonMIT LicenseMIT

rofi-zotero

Python 3 script that uses rofi to open an attachment from Zotero. The script scrapes the Zotero SQLite database to gather the list of attachments. The attachment is opened by xdg-open.

Usage

To use, run or set a keyboard shortcut to run:

python3 rofi-zotero.py -z [zotero_path] -t [theme]

where [zotero_path] points to the path of your zotero folder (defaults to ~/Zotero/) and [theme] is the name of the rofi theme you want to use (optional, defaults to no theme).

Example