Skip to content

bit4bit/clockifun

Repository files navigation

Clockifun for emacs

!!NOT USE THIS, org-mode it's all you need.

but the reality is impure

Configure on your file .emacs

(add-to-list 'load-path "<SOURCE CODE DIRECTORY>")
(require 'clockifun)

Gitea provider

Add api key to ~/.authinfo

example

machine <HOST> login <USER> password <TOKEN>

emacs.d

(require 'clockifun-gitea)
(setq clockifun-stopwatcher (symbol-function 'clockifun-stopwatcher-gitea))
(setq clockifun-gitea-host "<HOST>")

USAGE

clockifun can detects the issue id from the task

* TASK #ISSUEID

usage recommendation

* repository demo # run M-x clockifun-project-put
** TASK #1
** TASK #2
* repository mero # run M-x clockifun-project-put
** TASK #3
** TASK #4

Clockify Provider

Add api key to ~/.authinfo

example

machine api.clockify.me login fuck password XXXXXXX

emacs.d

(require 'clockifun-clockify)
(setq clockifun-stopwatcher (symbol-function 'clockifun-stopwatcher-clockify))
(setq clockifun-clockify-workspace-id "GET_IT_FROM_CLOCKIFY")

Or if you are using doom, it can be add in file .doom.d/config.el, be careful is needed to have the command of clockify-cli in use

emacs.d

;; clockifun
(use-package! clockifun)
(setq clockifun-clockify-workspace-id "GET_IT_FROM_CLOCKIFY")

Usage

Inside emacs execute M-x clockifun-enable.

Inject property in entry with M-x clockifun-project-put. Starts org-clock with C-c C-x i and stops with C-c C-x o

* TODO de nuevo en ideas

Proyect are search at high levels.

* TODO de nuevo en ideas
** TODO usa propiedades de org superior