Skip to content

A small script that sets the color of a blink1 to the color of the currently running toggl project's color.

Notifications You must be signed in to change notification settings

MarcelloNicoletti/Blink1Toggl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Blink1Toggl

A small script that sets the color of a blink1 to the color of the currently running Toggl project's color. Requires the blink1 cli tool.


Usage

python3 Blink1Toggle.py [--root | --sudo]

You'll need your Toggl account's API token set as the environment variable TOGGL_API_KEY. The token can be found by following the directions here. You can put the line TOGGL_API_KEY="<Your key here>" at the top of your crontab to set it for a cronjob call.

The optional argument --root or --sudo are for when your OS requires blink1-tool to be run as root (such as a Linux like OS).

About

A small script that sets the color of a blink1 to the color of the currently running toggl project's color.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages