OrgModeClockingXBar - see a task when you clock in in your bar and not only

2022-11-13 Thread mag_dex
Dear All,
I designed a hack to see your clocked-in task on your bar (and not only).
The hack is composed of a few elements, Emacs code that adds hooks for clock-in 
and clock-out and a code for Xbar.
I have been using this for 2 years, and it's pretty robust. I didn't have time 
to share it before.
The code is not perfect, if you quit your Emacs, without clocking-out the 
content of the file will not be changed so you will not see any update on the 
bar (at least not till next clocking-in or -out)
https://github.com/mmagnus/OrgModeClockingXBar
Magnus

OrgModeClockingXBar - see a task when you clock in in your bar and not only

2022-11-13 Thread mag_dex



(preview, 
https://user-images.githubusercontent.com/118740/201486665-a53e8f4f-9450-4be4-953c-5571b30dd033.jpg)

Re: OrgModeClockingXBar - see a task when you clock in in your bar and not only

2022-11-15 Thread mag_dex


> On 15 Nov 2022, at 02:41, Ihor Radchenko  wrote:
> 
> "Christopher M. Miles"  writes:
> 
>>> https://github.com/mmagnus/OrgModeClockingXBar
>>> 
>>> Magnus
>> 
>> Thanks for sharing, this is what I needed.
> 
> Do we have a page in WORG that discusses ways to display clocked task in
> taskbar for Linux/Windows/Mac?
> 
I’m sure, I will look it up.

BTW, two people at reddit shared their solutions, with one just like this:
$ emacsclient --eval '(if (org-clocking-p)(org-clock-get-clock-string) -1)’
(maybe for Emacs nerds this is obvious, for me, I didn’t know that I could 
—eval emacs, pretty rad)

I added links to their solutions to the readme of: 
https://github.com/mmagnus/EmacsOrgModeClockingXBar

Magnus

> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at .
> Support Org development at ,
> or support my work at 
>