Git Product home page Git Product logo

Comments (7)

stapelberg avatar stapelberg commented on September 15, 2024

Can you send a pull request to fix this issue please? Most people are using i3status with i3bar, so the chances are slim that other people will fix this.

from i3status.

roymath-zz avatar roymath-zz commented on September 15, 2024

Hello Michael - By pull request, do you mean a code fix or simply a fork
with the documentation that I already created as part of the original
ticket?

(I'm not sure how to make the code fix, since I don't see any tests in the
src tree, and don't want to break the code.)

On Tue, Mar 8, 2016 at 1:18 PM, Michael Stapelberg <[email protected]

wrote:

Can you send a pull request to fix this issue please? Most people are
using i3status with i3bar, so the chances are slim that other people will
fix this.


Reply to this email directly or view it on GitHub
#112 (comment).

Roy.

from i3status.

stapelberg avatar stapelberg commented on September 15, 2024

I meant fixing the code.

With regards to testing, you can run i3status in a terminal and see if the output looks good (use output=auto or output=terminal in your configfile to get nicely readable output).

from i3status.

eplanet avatar eplanet commented on September 15, 2024

What version are you running @roymath? I cannot reproduce that bug. When using the configuration you provided I get two closing marks </fc>, and when removing it from the configuration, I get the consistent following output:

$ ./i3status -c i3status.conf 
<fc=#FFFF00>Vol: muted</fc>

Support for xmobar date back from bb52b40c8ed5b3c938f6bb157b08bcb18bb067c2, and the closing mark </fc> for color has always been there since: src/output.c#L52.

P.S: By the way @stapelberg I agree that some unit testing could prove useful to i3status. What do you think?

from i3status.

stapelberg avatar stapelberg commented on September 15, 2024

@eplanet I agree that unit testing — or any tests, really — would be a good idea. What makes testing i3status hard is the various system APIs which we’d need to mock/fake/inject somehow (that’s of course much simpler for text-based APIs such as the uevent files we read for battery status). I’m uncertain whether doing that is feasible at all, and if it is, whether we’d gain much from having the tests.

Anyway, if you’re motivated to work on testing i3status, please feel free to open another issue, or even discuss your approach over a pull request (if you don’t mind possibly making sweeping changes).

from i3status.

eplanet avatar eplanet commented on September 15, 2024

I propose we close this issue: the bug is not reproducible and @roymath doesn't answer.

from i3status.

Airblader avatar Airblader commented on September 15, 2024

I agree. If @roymath comes back with the information we can reopen.

from i3status.

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.