Code Monkey home page Code Monkey logo

Comments (3)

t-wissmann avatar t-wissmann commented on May 30, 2024

The monitor handling of lemonbar is just wrong in some cases. If you run barpyrus 0 or barpyrus 1, can you check the -g parameter to lemonbar? The geometry should still be correct, but the panel is shown at the wrong location (e.g. compare -g of lemonbar with what xwininfo reports).

The error message for barpyrus 2 seems correct, since there are only monitors 0 and 1 (only the long exception is unfortunate indeed).

from barpyrus.

The-Compiler avatar The-Compiler commented on May 30, 2024

Hmm, true! Indeed -g 1920x16+1920+0 and -g 1920x16+0+0 get passed to lemonbar, but both instances draw on the left monitor. Looks like this is LemonBoy/bar#163 probably.

The exception is a bit unfortunate indeed. Should HLWMInput.__call__ perhaps check the herbstclient exit code and bail out earlier with an exception if it's nonzero? Or are there hlwm commands being called which expect a nonzero exit code?

from barpyrus.

t-wissmann avatar t-wissmann commented on May 30, 2024

I'd say __call__ should check the exit code per default. I've implemented the check in 0f78dcd.

from barpyrus.

Related Issues (9)

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.