elparaguayo / qtile-widget-laptopbattery Goto Github PK
View Code? Open in Web Editor NEWQtile widget to display laptop battery status
License: MIT License
Qtile widget to display laptop battery status
License: MIT License
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.