The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gergely Polonkai 4c0b28032e
Add documentation
2 years ago
examples Add documentation 2 years ago
COPYING Add documentation 2 years ago Add documentation 2 years ago
org-clock-waybar.el Make org-clock-waybar--get-clocked-task-json output a JSON structure Waybar can understand 2 years ago

org-clock-waybar – Export the currently clocked-in task to be displayed on Waybar


Put org-clock-waybar.el somewhere in your load-path, and (require 'org-clock-waybar).

MELPA version may come soon.

You can set the file to be written by customizing org-clock-waybar-filename; it defaults to $XDG_CACHE_HOME/waybar-current-task.json ($XDG_CACHE_HOME defaults to $HOME/.cache on XDG compatible systems, like Linux.)

Waybar configuration

To add the current task to Waybar, add this snippet to your config:

"custom/org": {
  "format": " {}",
  "return-type": "json",
  "restart-interval": 5,
  "exec": "cat /home/yourusername/.cache/waybar-current-task.json"

Then, add custom/org to modules-left/modules-center/module-right if your bar’s configuration. You can find a minimal working configuration in the examples directory.