Fix title and category

This commit is contained in:
Stuart Mumford 2021-03-12 09:11:13 +00:00
parent f90fee167f
commit dc3a934d62
No known key found for this signature in database
GPG Key ID: 60BC5C03E6276769

View File

@ -94,8 +94,8 @@
The output is in JSON format constructed in a way so Waybar can process it. The output is in JSON format constructed in a way so Waybar can process it.
If there is no clocked in task, alt becomes empty and text will be set to the If there is no clocked in task, alt becomes empty and text will be set to the
value of `org-clock-waybar-not-clocked-in-text'." value of `org-clock-waybar-not-clocked-in-text'."
(let* ((category (org-clock-waybar--get-task-title)) (let* ((category (org-clock-waybar--get-task-category))
(title (org-clock-waybar--get-task-category)) (title (org-clock-waybar--get-task-title))
(tooltip (org-clock-waybar--get-tooltip)) (tooltip (org-clock-waybar--get-tooltip))
(output (json-new-object))) (output (json-new-object)))
(setq output (json-add-to-object (setq output (json-add-to-object