Giter Club home page Giter Club logo

Comments (21)

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota Thanks for the heads up. I think I got work to do after my next "pacman -Syu".

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

thanks man! I am using your configuraton, and I liked it :D 💃

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

Thanks for letting me know. Glad you find it useful :)

Will close this issue after making it compatible with Awesome 4.0.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

Ok, by the way, my first problem was referenced to awesomeWM/awesome#244

after pacman -Syyuu, in /usr/share/awesome/lib exists folder beautify and beautiful.lua and awesome got crazy and throws a lot of errors about textbox, widget, etc, removing beautiful.lua let me work with your configuration up 40% (before was at 5% >.<)

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota I don't think Awesome 4.0 is stable enough to be moved to.

I have fixed errors due to non-backward-compatible API changes (e.g., with regard to mouse.screen => awful.screen.focused() etc.).

However, I run into the following internal errors with awful.prompt:

/usr/share/awesome/lib/awful/prompt.lua:408: attempt to call a nil value (method 'set_font')

This error is caused by textbox widget's "set_font" method being replaced by "font" property (perhaps in the "expose data not accessor" anti-unnecessary-encapsulation philosophy as in Clojure, which I agree with), without providing a shim for the older accessor. This is quite disrupting.

So it appears that the API change in Awesome 4.0 has caused issues even for its own inbox library.

For now, I am downgrading to the perfectly working v3.5.9, and have added "awesome" to my pacman.conf IgnorePkg list. I will consider moving to v4.x when 4.x is stable enough.

My work-in-progress changes is here: https://github.com/pw4ever/awesome-wm-config/tree/next-4.x

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

OH.. I am going to downgrade too thanks for your works.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

I got working awesome again with your version, only commented all body function update_textbox on uniargs. and no more errors :)

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

Using awesome-git and the rc.lua from https://github.com/pw4ever/awesome-wm-config/tree/next-4.x

I needed to edit uniargs.lua and remove body method for update_texbox function.

Last thing I needed to change in rc.lua was this:

[[awful.key({modkey}, "r", function()
awful.prompt.run(
{prompt = "Run: "},
customization.widgets.promptbox[awful.screen.focused().index],
awful.util.spawn, awful.completion.shell,
awful.util.getdir("cache") .. "/history"
)
end),

Changed to: (same function used in Modkey + f2 )
awful.key({modkey}, "r", function()
awful.prompt.run(
{prompt = "Run: "},
customization.widgets.promptbox[awful.screen.focused().index].widget,
awful.util.spawn, awful.completion.shell,
awful.util.getdir("cache") .. "/history"
)
end),

And now I don't get any error anymore 🗡️

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota
I have released an update that is compatible with Awesome 4.0 (at least in my local test).

Please give it a try and let me know if it also works for you.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

Nice work, , moved to branch I am going to test it tomorrow, thanks for the changes. first tests don't show any error.

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota Had some new updates with regard to multi-screen support. Please git-pull and test the latest version (4.0.1). Thanks!

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota Latest one is 4.0.2, with client rules update.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

Updated to 4.0.2 and I lost the systray for icons. Skype, pidgin, nm-applet is not showing icon in systray :(

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota
Thanks for catching the bug. Should be fixed now in 4.0.3.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

Hi @pw4ever I don't see any commit or changes :)

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota
My apologies. Messed up git-pushing. Now should fixed.
Thanks for the patience :)

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

thanks to you! I got back my old systray with this commit !

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

I am wondering, can you please add some file or properties file (External to avoid rewrite on update), to read if user want cpu, battery, and mdp? every time I update lost my customization on date format, removed cpu/memory and I dont use mdp :P thanks for all the work man.

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota
For this specific use case, I would recommend you clone the repo and create a local-jorgemota-4.x branch (like my local-1pengw-4.x branch) that have your customization.

Then when you pull a new awesome-4.x branch, you can just:

git checkout local-jorgemota-4.x
git merge awesome-4.x

which will port your customization forward. This is what I have been doing so far.

from awesome-wm-config.

jorgemota avatar jorgemota commented on August 11, 2024

ohh, I will give this a try. Thanks man.

from awesome-wm-config.

pw4ever avatar pw4ever commented on August 11, 2024

@jorgemota I will close this issue for now. Thanks for testing this out!

from awesome-wm-config.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.