Skip to content

A simple module for py3status that displays the currently clocked in task from org-mode.

License

Notifications You must be signed in to change notification settings

glassnotes/org_clocking_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

org_clocking_task

A simple module for py3status that displays the currently clocked in task from org-mode.

Requirements

  • Python 3 (tested in 3.6 and 3.7)
  • py3status
  • emacs
  • org-mode

An instance of emacs must be open with the emacs server running. (The emacs server can be started using M-x server-start).

Example

The default display looks like this:

alt text

The preceding "Current task: " can be changed as shown below using the format parameter. In py3status config:

order += "org_clocking_task"

org_clocking_task {
  color = "#00CCFF"
  format = "Working on: "
}

When no task is being clocked, the display will be "Current task: None".

Click events

You can right click on the status bar to pause the current clock - org-mode will clock you out of the task, and the status bar will display 'PAUSED'. You can then left click on the status bar to re-clock the most recently clocking task.

About

A simple module for py3status that displays the currently clocked in task from org-mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages