Giter Site home page Giter Site logo

qtile-widget-laptopbattery's People

Contributors

elparaguayo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hschauhan

qtile-widget-laptopbattery's Issues

Border at the bottom of the widget

Hello!

For some reason the widget has a border at the bottom of it and I am not finding where that comes from. I tried removing every other widget I have but I still have that weird border that is sometimes black so I can't see it but that offsets the text a little too high compared to the other modules.

See here
image

Widget/Qtile crash when reaching critical battery level

I was using Arch Linux with the 5.81 kernel and running Lenovo Thinkpad T440p with an Intel i7-4702MQ processor, and Qtile crashes/becomes unresponsive once the battery reaches a critical level. The widget either disappears from the bar or becomes black, and a reload of Qtile is when the crash occurs (I am using Qtile version 0.15.1).

I have confirmed that it is indeed your widget (which is awesome otherwise by the way) misbehaving when battery reaches critical level: when my battery was at 13% I edited the widget config to consider 15% a critical level. Upon reload, Qtile crashed and I had to drop to a tty in order to undo the changes.

After undoing the changes, I waited until my battery hit the default critical level (10%) - that is when the widget went totally black/or disappeared from the bar, and when I reloaded the config Qtile crashed again.

A simple mitigation for me is to not allow my battery to reach critical level and edit the config to consider critical to be something real low, like 2%.

I have just updated kernel to version 5.8.2 but have not tried to reproduce the issue. Nor have I tried updating to Qtile 0.16.1 to see if that resolves it. In the next few days I will try these things and report back.

If you need any more info please just ask (this is my first time posting an issue on GitHub!) and I will do my best to supply it.

And keep up the good work! I really like the design of this widget and I want to keep using it.

How to have percentage always show next to battery icon?

Not really an issue, but was wondering how to have the percentage next to the icon. Meaning, I want to remove the mouse callback function, and just have the percentage always next to the icon.

I really like how sleek the widget is. The best I've seen!

Probably the only thing this is missing is an update_interval interval, whereby users can specify the time it takes for the icon to change.

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.