Giter Site home page Giter Site logo

segfault about sfwbar HOT 6 CLOSED

keshto avatar keshto commented on June 18, 2024
segfault

from sfwbar.

Comments (6)

keshto avatar keshto commented on June 18, 2024

Note this only happens when using default config ie. no config in ~/.config/*

from sfwbar.

LBCrion avatar LBCrion commented on June 18, 2024

Can you try with the current git please? It should hopefully be fixed in the current version.

from sfwbar.

keshto avatar keshto commented on June 18, 2024

Looks like it works :) The new icon change is still showing though no matter the config.
image
Also, if one tries to sfwbar -f existing_but_invalid_config it just fails silently. Shouldn't there be some message about invalid config?

The original issue is fixed so feel free to close this and I can open a new one for the fail silently if you would like.

from sfwbar.

LBCrion avatar LBCrion commented on June 18, 2024

The silent failure is somewhat intentional, but can probably be handled more gracefully. sfwbar could in theory be running with no layouts and function as a task switcher or a window placer. That said, if there are no layouts, so switcher and no placer defined, we should probably bail with an error.

from sfwbar.

LBCrion avatar LBCrion commented on June 18, 2024

I added the above behaviour in the latest git version.

from sfwbar.

keshto avatar keshto commented on June 18, 2024

Awesome!

from sfwbar.

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.