Fill time-entries to Toggl time tracker with dmenu and cURL.
The script prompts you for a project, description, start time and the duration of your task.
- Go to your profile in Toggl and copy the API key to
API_KEYvariable - Fill the
PROJECTSvariable with your project ids and names (can be any name) Example:PROJECTS="MyFirstProject,123456789\\nMySecondProject,987654321"
(The format is standard CSV with name and pid columns, the script is wasily modified to read project data from an external file)
- Fill
DESCRIPTIONSvariable with as follows:DESCRIPTIONS="MyDesc1\\nMyDesc2"
- Copy this script to
~/bin(or some location on your$PATH) - Run
chmod +x dmenu_toggl(in the same folder)
dmenu_toggl