GithubHelp home page GithubHelp logo

Adoption for marks about i3-easyfocus HOT 9 CLOSED

weilbith avatar weilbith commented on September 28, 2024
Adoption for marks

from i3-easyfocus.

Comments (9)

cornerman avatar cornerman commented on September 28, 2024 1

Sure, I will try when I have some time, but I cannot promise anything :)

from i3-easyfocus.

cornerman avatar cornerman commented on September 28, 2024

@weilbith Thank you for opening this issue, that is an interesting use-case.

We could implement it quite easily if we just want to show the current marks of a window as additional information in the label. So, we can just have the labels and key matching as it is now and additionally query i3 for the marks of a window and display them in the label. We can introduce a cli option for this behaviour. Would that be enough?

If so, it should be possible to implement:

from i3-easyfocus.

weilbith avatar weilbith commented on September 28, 2024

Thanks for replying that fast!
This would be a nice solution yes. In fact it is maybe even better, since it allows you to jump directly. In case you only want to see the marks, it can be canceled with <Esc> as normal I guess.
To make sure it is easily visible which window contain a mark it would be nice, if the mark information could be highlighted in any way.

from i3-easyfocus.

cornerman avatar cornerman commented on September 28, 2024

it can be canceled with as normal I guess

Yep that just works.

if the mark information could be highlighted in any way.

I would love that but there is not much styling going on in the code right now - so we would need to tinker with xcb and change the font style or color for the mark information. It should be possible, but maybe not as easy. Alternatively, we could just put the mark in brackets: a [mark1 mark2]. What do you think?

from i3-easyfocus.

weilbith avatar weilbith commented on September 28, 2024

Yep. Then should brackets be enough. Thats also the style i3 is using for their window decoration. 👍

from i3-easyfocus.

cornerman avatar cornerman commented on September 28, 2024

Great. I am not sure when I will have time to work on this. Are you interested in making a PR?

from i3-easyfocus.

weilbith avatar weilbith commented on September 28, 2024

I would love to, but I must admit that my development knowledge for C isn't that good. I would prefer to wait for it, if this is okay for you. My PR would be just a mess I guess.

from i3-easyfocus.

weilbith avatar weilbith commented on September 28, 2024

I would love to, but I must admit that my development knowledge for C isn't that good. I would prefer to wait for it, if this is okay for you. My PR would be just a mess I guess. I haven't even install a linter therefore. ^^

from i3-easyfocus.

weilbith avatar weilbith commented on September 28, 2024

I'm just going through the list of my open issues.
I don't think I'm interested into this feature anymore. Though it would be a cool addition. In this case it could be re-opened at any time.

from i3-easyfocus.

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.