CLI for displaying status of company used time tracking information and gitlab pipeline status
Config is saved under $HOME/.config/waybar-utils/config.yaml
time_tracking:
username: "<Username>"
password: "<Password>"
api_url: "https://example.timetracking-online.com/api"
gitlab:
access_token: "<gitlab-access-token>"
api_url: "https://example/api/v4"Each time tracking operation starts with the time keyword.
Two timetrack commands are available. status and update
Status returns the current working time as json {text: "<time>"}. This can be integrated into a waybar compoennt
update accespts multiple actions: homeoffice, break, leaving.
Example:
Start a homeoffice shift
waybar-utils time update --action homeoffice