Fix title and category #4

Merged
gergely merged 1 commits from Cadair/org-clock-waybar:main into main 2021-03-12 13:29:04 +00:00
Showing only changes of commit dc3a934d62 - Show all commits

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