awesome-pomodoro icon indicating copy to clipboard operation
awesome-pomodoro copied to clipboard

Not working with Awesome 4.0

Open xfim opened this issue 7 years ago • 8 comments

Hello,

It seems that the widget does not work with Awesome 4.0. It does not even allow me to load the widget with the require function.

Is it possible to have the widget working with Awesome >= 4.0?

Thank you.

xfim avatar Apr 03 '17 07:04 xfim

Hi, I will try to update my installation to 4.0 and see if I will be able to port to the new version. This will probably happen this weekend.

nikolavp avatar Apr 04 '17 04:04 nikolavp

Excellent, thank you. Please let me know if I can do anything to provide more information.

xfim avatar Apr 04 '17 09:04 xfim

Have a look at https://github.com/Ram-Z/awesome-pomodoro/commit/cfa88849c204277c459814969296305998c21225. I think that addresses some of the changes for 4.0

Ram-Z avatar Apr 08 '17 12:04 Ram-Z

Thank you @Ram-Z . But I am afraid that probably it needs some intervention of my own, because when I try to load it, awesome fails anyway. Do I have to do something more that: local pomodoro = require("./pomodoro-ram-z") pomodoro.init() at rc.lua?

Thank you.

xfim avatar Apr 14 '17 08:04 xfim

Try: (note the /init in require)

local pomodoro = require("./pomodoro-ram-z/init")
pomodoro.init()

Ram-Z avatar Apr 14 '17 19:04 Ram-Z

Yes, that should be. Works flawlessly now.

Thank you @Ram-Z

xfim avatar Apr 15 '17 06:04 xfim

Will this be merged into the main branch?

nkwsy avatar May 02 '17 03:05 nkwsy

See #35 for the error with require. @Ram-Z Would be nice if you could look into this, and if you could create a PR with your other changes (mentioned above). Thanks!

blueyed avatar Jul 01 '18 13:07 blueyed