Commit Graph

15 Commits

Author SHA1 Message Date
c92eeff06e Fix the file header
It missed the .el extension, which is required if you want to install it via Quelpa (and probably
with `package.el` later.
2021-03-12 16:55:51 +00:00
dc3a934d62
Fix title and category 2021-03-12 09:11:13 +00:00
f90fee167f
Get the tags of the currently clocked-in task and expose it in the class key 2021-03-12 05:48:15 +01:00
7648b9629c
Make getting task data more error prone (and actually working) 2021-03-12 05:42:26 +01:00
c6caa3276f
[Bugfix] Fix org-clock-waybar--get-tooltip
The functions it calls don’texist.
2021-03-11 17:55:47 +01:00
eb03af79d9
Factor out the title and category queries to separate functions 2021-03-11 17:47:35 +01:00
92f896af05
Add more config options and a tooltip 2021-03-11 15:50:47 +00:00
4a3c4b549e
Make sure we clear the current task when clocking out or when killing Emacs 2021-03-11 16:07:56 +01:00
907998b3ff
Update org-clock-waybar-output-task and the relevant README parts 2021-03-11 07:21:13 +01:00
cf030fa8d5
Add the org-clock-waybar-output-task function
It outputs the generated JSON string to the standard output so it can
be used directly from the command line, e.g. using `emacsclient`.
2021-03-11 07:01:53 +01:00
bf9c74666d
Factor out the JSON string generation 2021-03-11 06:58:49 +01:00
5d97d022c7
Make the "Not clocked in" text customizable 2021-03-11 06:58:43 +01:00
d3d80e6e38
Fix the docstring of get-clocked-task-json 2021-03-11 06:49:46 +01:00
1120762348
Make org-clock-waybar--get-clocked-task-json output a JSON structure Waybar can understand 2021-03-11 05:46:58 +01:00
8754aa1434
Initial, untested version 2021-03-10 18:38:32 +01:00