Metadata-Version: 2.1
Name: polybar-clockify
Version: 0.2.0
Summary: Control Clockify through Polybar
Home-page: https://github.com/woutdp/polybar-clockify
License: MIT
Keywords: polybar,clockify
Author: Wout De Puysseleir
Author-email: woutdp@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: isodate (>=0.6.0,<0.7.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Requires-Dist: websockets (>=8.1,<9.0)
Project-URL: Repository, https://github.com/woutdp/polybar-clockify
Description-Content-Type: text/x-rst

================
polybar-clockify
================
.. image:: https://badge.fury.io/py/polybar-clockify.svg
    :target: https://badge.fury.io/py/polybar-clockify

Control Clockify through Polybar


Installation
------------
::

    pip install polybar-clockify


Configuration
-------------
Create credentials file in ``~/.config/polybar/clockify/credentials.json`` and fill out your clockify credentials.
Your will have to create a `clockify API key <https://clockify.me/user/settings/>`_ to make the module work. ::

    {
      "api-key": "your-api-key",
      "email": "your-email",
      "password": "your-password"
    }


Create a polybar module inside your polybar config add it to your active modules. ::

    [module/clockify]
    type = custom/script
    tail = true
    exec = polybar-clockify
    click-left = echo 'TOGGLE_TIMER' | nc 127.0.0.1 30300
    click-right = echo 'TOGGLE_HIDE' | nc 127.0.0.1 30300


Development
-----------
This package uses `poetry <https://python-poetry.org/>`_


Contribution
------------
At the moment the functionality is pretty basic, but sufficient for my use case.
If you want to extend the functionality I'd be delighted to accept pull requests!
