polybar-clockify
Introduction
Control Clockify through Polybar.
Features:
Displaying money earned and time worked
Toggle timer
Daily, weekly and monthly view
Hide output for privacy
Installation
pip install polybar-clockify
Configuration
Create credentials file in ~/.config/polybar/clockify/credentials.json and fill out your clockify credentials. You will have to create a clockify API key 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 scroll-up = echo 'NEXT_MODE' | nc 127.0.0.1 30300 scroll-down = echo 'PREVIOUS_MODE' | nc 127.0.0.1 30300
Development
This package uses poetry
To run in the terminal
# Execute in the root folder of the repository poetry run python -u ./polybar_clockify/app.py # Example for polybar config [module/clockify] type = custom/script tail = true exec = poetry run python -u /home/<your_user>/polybar-clockify/polybar_clockify/app.py
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!
Metadata
Release files for polybar-clockify 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polybar-clockify-0.2.8.tar.gz | 7.5 kB | Without provenance | Details for polybar-clockify-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polybar_clockify-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for polybar_clockify-0.2.8-py3-none-any.whl |
Total release size: 16.6 kB
Release files / polybar-clockify-0.2.8.tar.gz
| Download URL | polybar-clockify-0.2.8.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788734f8679930a6f2bb53df7a8d6968997ea4f5aaf420da6dc16cec4ee8d1e0
|
|
BLAKE2b-256 checksum How to use checksums |
8a944b505036c7fe735211ea06b0ff1db7895ea10cb47d83d1c8b81812f9bc0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/5.10.7-arch1-1
|
Release files / polybar_clockify-0.2.8-py3-none-any.whl
| Download URL | polybar_clockify-0.2.8-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44278a7c14215ccf4a540e7c3a8e73d8bb7d8f8aa775dbfa3b64de896a70bd62
|
|
BLAKE2b-256 checksum How to use checksums |
8952b910171dcf4c17364560ab6b9de9ecaf4070e5c7fe63e35a64df099c2b8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/5.10.7-arch1-1
|
Security for polybar-clockify 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.