Is there a way to show emacs pomodoro time left on i3 bar? reddit / emacs ---------------------------------------------------------------------- anton-rs · 2022-04-02 11:05 ---------------------------------------------------------------------- grimscythe_ · 2022-04-02 11:25 Which pomodoro package? There's a few. ---------------------------------------------------------------------- anton-rs · 2022-04-02 12:55 this one https://github.com/marcinkoziej/org-pomodoro ---------------------------------------------------------------------- chenleo1992 · 2022-04-02 13:48 If you have emacs daemon, you can try "emacsclient -e "(org-pomodoro- remaining-seconds)" to get the remaining seconds and then use shell to calculate minutes to display. I am not familiar with i3. ---------------------------------------------------------------------- anton-rs · 2022-04-02 13:50 I didnt see function called org-pomodoro-remaining-seconds, is this custom function? ---------------------------------------------------------------------- lebensterben · 2022-04-02 14:29 https://github.com/marcinkoziej/org- pomodoro/blob/3f5bcfb80d61556d35fc29e5ddb09750df962cc6/org- pomodoro.el#L432 ---------------------------------------------------------------------- bergheim · 2022-04-03 15:10 I have this set up in a way that handles both regular clocking and org-pomodoro (and emacs not running). * For the elisp: https://github.com/bergheim/dotfiles/blob/d3135c26cf9 9d22e2a6c911cc96663056c10c238/.config/doom/%2Borg.el#L709-L723 * For the script (handles if emacs is not running): https://github.com/bergheim/dotfiles/blob/master/local/bin/org-clock- status * I use polybar, but it should be easy enough to move to i3-bar: https ://github.com/bergheim/dotfiles/blob/d3135c26cf99d22e2a6c911cc96663056 c10c238/.config/polybar/config#L491-L499 ---------------------------------------------------------------------- anton-rs · 2022-04-03 15:33 Thanks 🙏