Giter Club home page Giter Club logo

Comments (4)

nabajour avatar nabajour commented on June 16, 2024 1

Looking forward to this! I played a bit with penrose when looking for a programmable WM to program with rust, but then switched my system over to wayland, and haven't found any programmable compositor that I could get to the point I was with xmonad (despite my lack of haskell programming knowledge).

Some info that can be useful to you:

  • I also started reading the wayland book, it's from the guy who wrote wlroots. It looks like it's hosted on SourceHut, which seems to be currently offline because of a massive DDOS attack.
  • there is also jay that works as a programmable compositor to build one's tiling wm that I'm playing with.

from penrose.

SomeGuyNamedMay avatar SomeGuyNamedMay commented on June 16, 2024 1

qtile: https://github.com/qtile/qtile may be a good reference as well as they have a both a wayland and x11 backend

from penrose.

sminez avatar sminez commented on June 16, 2024

Thanks for the links @nabajour! Particularly the context around why the wayland book is currently offline (hopefully the source is available somewhere so I can nab an offline copy for future reference 🤞) I'd spotted jay previously but hadn't included it in my list as it looks like it handles implementing the Wayland protocol itself which probably isn't the way I'm going to go with this? Still worth a look though, just might be a little harder to unpick the pieces I want to learn from!

If I'm able to pull off what I'm aiming for then you should be able to swap out the X back end in Penrose for a new Wayland one and mostly keep the rest of your setup unchanged. I need to read up and experiment with things around how interacting with client programs works (particularly the sorts of things that you might do with something like xdotool) before I can settle on the new trait that will be replacing XConn. If you have any tips or links along those lines I'd appreciate a steer in right direction 🙂

from penrose.

nabajour avatar nabajour commented on June 16, 2024

hopefully the source is available somewhere so I can nab an offline copy for future reference

The wayland book is still offline, but it looks like the source is available on Drew Devault's sourcehut. It's buildable with mdbook.

I'd spotted jay previously but hadn't included it in my list as it looks like it handles implementing the Wayland protocol itself which probably isn't the way I'm going to go with this? Still worth a look though, just might be a little harder to unpick the pieces I want to learn from!

It's interesting to see how stuff is done from scratch, but yes, smithay might be a better starting point, or something based on wlroots. I saw some things missing in jay that depend on extensions, so those might need to be reimplemented from scratch in this case...

from penrose.

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.