Giter Site home page Giter Site logo

Comments (5)

Elv13 avatar Elv13 commented on July 20, 2024 1

Note: The way cooler "awesome" is endorsed by upstream (sidestream?) AwesomeWM as our potential wayland runtime.

It guess the binary could become awesome_w and we could eventually rename awesome to awesome_x and have a dispatch script to detect if wlroot/way-cooler or xorg is running and pick the right executable. That remain to be seen for now the priority is making progress :P

from way-cooler.

psychon avatar psychon commented on July 20, 2024

I haven't looked at "the current situation", but way-cooler's awesome is just a wayland client that connects to the wayland server and does stuff. I would expect this to use some private protocol for communicating with way-cooler and as such it has to be started by way-cooler and cannot be started directly. So... this issue still exists.

from way-cooler.

Timidger avatar Timidger commented on July 20, 2024

Apologies for the delay in replying to this issue.

As @psychon pointed out, the awesome binary that Way Cooler uses is just a private client to the compositor and thus can be named whatever it wants. I don't really care what it's called and only called it "awesome" to best distinguish what it did (e.g. awesome does awesome things, way cooler does wayland related things).

Note also that it could be possible in the future for Way Cooler's awesome to run against other compositors. For example, the status bar uses the same protocol other windows use to display itself so it's possible to get an Awesome status bar in say Sway or Gnome. So the option of running the awesome binary directly should not be disregarded.

from way-cooler.

Timidger avatar Timidger commented on July 20, 2024

as such it has to be started by way-cooler and cannot be started directly.

At least for now that's not how it's actually started by the way. Currently we just run them as two binaries, and in fact the awesome binary works on other wayland compositors (since there's no custom protocol just yet). This is actually a cool feature I like, because it means you can, for example, use the awesome bar and all of its features in Gnome or Sway or whatever. It would be nice to have a check in the code to see if we are in Way Cooler (and thus enable the custom protocols) and if we are not just act like a glorified status bar.

Though if that's not desirable / easy to do because I'm missing something then there's no point to building that in.

Note that there's nothing that requires us to start awesome from way-cooler, but if we do it the way we are doing now the ability to authenticate that th client trying to control way-cooler gets a bit more annoying. It's not impossible however, and I'd probably try to use this and retain the current setup.

from way-cooler.

Timidger avatar Timidger commented on July 20, 2024

This has been fixed.

way-cooler is the compositor binary, the client is named way-cooler-client. This can be changed later, but for now this is sufficient to avoid a name conflict.

from way-cooler.

Related Issues (20)

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.