Coder Social home page Coder Social logo

Bar support without Pango about dwl HOT 9 OPEN

djpohly avatar djpohly commented on August 23, 2024
Bar support without Pango

from dwl.

Comments (9)

fbushstone avatar fbushstone commented on August 23, 2024

I wrote a 2D font renderer some time ago that is minimal and might be suited to this. It has support for multiple faces and unicode. I never added antialiasing support because I personally do not like it but I assume one could extend it to have such a feature.
However, it is legacy OpenGL (1.2) and Freetype 2 based so it might be less minimal dependency-wise than maybe it should.

from dwl.

fbushstone avatar fbushstone commented on August 23, 2024

Recently I have come back to this issue after beginning to write my own dwl-centric status bar.
There would have to be a custom dwl protocol that allows clients to obtain information about tags, window names, and other things. I would be willing to try my hand at creating one so I don't have to rewrite the bar as a dwl patch directly.

from dwl.

fbushstone avatar fbushstone commented on August 23, 2024

Right, and I forgot to post this: https://github.com/michaelforney/velox/blob/master/protocol/velox.xml
Another simple compositor (velox) has already implemented something like this.

from dwl.

fbushstone avatar fbushstone commented on August 23, 2024

I ignored the printstatus() function. I was wrong, a protocol does not have to be implemented.

from dwl.

godalming123 avatar godalming123 commented on August 23, 2024

The printstatus() function definitely needs improving for example it can only display the title of the focused client rather then every client and which one is focused which means that in my opinion the monocule layout is very hard to use as you cannot see which keys you need to press to get which windows. However this would be a breaking change, maybe we could rewrite DWL based of of tinywl when wlroots 0.17 releases with all of the breaking changes?

from dwl.

sevz17 avatar sevz17 commented on August 23, 2024

The printstatus() function definitely needs improving for example it can only display the title of the focused client rather then every client and which one is focused which means that in my opinion the monocule layout is very hard to use as you cannot see which keys you need to press to get which windows.

To be honest, I do not clearly remember how dwm bar is, but I am pretty sure that it only shows the title of the focused client

from dwl.

godalming123 avatar godalming123 commented on August 23, 2024

The printstatus() function definitely needs improving for example it can only display the title of the focused client rather then every client and which one is focused which means that in my opinion the monocule layout is very hard to use as you cannot see which keys you need to press to get which windows.

To be honest, I do not clearly remember how dwm bar is, but I am pretty sure that it only shows the title of the focused client

I think that in that case we might want to have a breaking change which I don't think would be that bad since when using DWL, people don't use the Xorg bars they used for DWM and people have to spend lots of time fixing all of their patches when DWL upgrades to the next version of wlroots anyway this would just be another small thing that could be changed when wlroots 0.17 releases

from dwl.

fauxmight avatar fauxmight commented on August 23, 2024

@godalming123 Mirroring dwm functionality is a specific intention of dwl (as noted).

The change you're requesting is appropriate as a patch if it is behavior you would like in your personal use case.

from dwl.

jbeich avatar jbeich commented on August 23, 2024

dwlb (mentioned in the wiki since 2023-02-15) uses fcft instead of pango.

from dwl.

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.