awesome-pomodoro
awesome-pomodoro copied to clipboard
Not working with Awesome 4.0
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.
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.
Excellent, thank you. Please let me know if I can do anything to provide more information.
Have a look at https://github.com/Ram-Z/awesome-pomodoro/commit/cfa88849c204277c459814969296305998c21225. I think that addresses some of the changes for 4.0
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.
Try: (note the /init
in require)
local pomodoro = require("./pomodoro-ram-z/init")
pomodoro.init()
Yes, that should be. Works flawlessly now.
Thank you @Ram-Z
Will this be merged into the main branch?
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!