Comments (3)
It's certainly possible to do.
You'd need to add some new parameters to defaults
, one for the border colour and one to set the level for treating the battery as "full".
Then, you just need to add some logic to this section to check whether the battery is full:
qtile-extras/qtile_extras/widget/upower.py
Lines 300 to 304 in 159eb19
from qtile-extras.
Glad to hear a positive response.
What are the best practices for developing and testing this module? Just run pip install . -e
in the repo?
from qtile-extras.
Each to their own. I use a virtual environment linked to my development versions of qtile and qtile-extras and I run it in a separate tty.
from qtile-extras.
Related Issues (20)
- Problem with UPowerWidget HOT 4
- Bug RectDecoration + last version of qtile extra HOT 11
- [Bug] last version of qtile-extra introduce new bug with status notifer.. HOT 6
- No menu for any apps when using GlobalMenu HOT 13
- [Feature Request] New highlight method for Popup Toolkit Controls HOT 5
- Issue with clipping from RectDecoration and Alsa.widget bar HOT 6
- [Feature request] Relative positioning of popup HOT 9
- Some thought about kill events for popup HOT 4
- Rect.Decoration and NetGraph HOT 1
- widget.CurrentLayoutIcon cannot find custom icons HOT 9
- Window focus function not recovered once Popup Toolkit close HOT 6
- Rounded borders for RectDecoration HOT 3
- Rectdecoration with grouping and filling = False produce additional separation lines between widgets HOT 5
- Wayland: No StatusNotifier icons for nm-applet and udiskie HOT 10
- [Feature request] Some options for analog.clock HOT 9
- `RectDecoration` disappears when screen size changes HOT 6
- massive slowdown when using the ALSAWidget HOT 45
- [Bug] Image.widget and mask=True doesn't draw image. HOT 1
- [Bug] Rect.Decoration not applied on widgets outside of qtile/qtile-extras HOT 4
- [Bug] Status notifier menu, highlight visual artefact HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtile-extras.