Git Product home page Git Product logo

go-i3's Introduction

go-i3's People

Contributors

dependabot[bot] avatar dlasky avatar geshido avatar ivanmilov avatar ivitjuk avatar quite avatar stapelberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-i3's Issues

[feature request] add field scratchpad_state to i3.Node

Currently the command i3-msg -t get_tree provides the field scratchpad_state that is useful in identifying windows that are currently shown but still considered to be in the scratchpad. This field is not present/unmarshalled into i3.Node.

I believe adding this line to the Node struct definition would suffice.

ScratchpadState    string           `json:"scratchpad_state"`

Add node app_id for using this pkg with sway

I'm using this pkg for supporting both i3 and sway in my https://github.com/quite/i3gopher

I just found out that I'd need to get hold of the app_id of a node, which is only available under sway (approx like the window instance in X11). I'm using this pkg because it is so good, and I did from the beginning only support i3. And thanks to #4 it just works out of the box with sway. Only now did I run into the missing app_id for i3gopher's exclude functionality.

Having read the #4 issue I'm thinking that you might be wary of making such a sway-specific addition to this pkg @stapelberg . What do you think? I have not come across the fork of this pkg that @dlasky mentioned, which blanked-renames it to go-sway. But I also think that is not such a great idea.

Don't log variant detection

It would be nice if the api did not log the detection of the version Variant. Is there a need to communicate that this is unsupported?

I'm writing a small tool with I'd like to be usable both with i3 and sway. https://github.com/quite/i3gopher

Though the tool is supposed to be run in the background, this frequently logged string (on every messaged roundtripped!) will drown any other relevant logging (error or otherwise) that it does.

I see that we can't really return non-nil since that'd stop the variant from being accepted. What to do...

@dlasky what do you think?

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.