Comments (3)
Yes, I believe this is a restriction from the Python library I am using - for security reasons.
I will think about how to document that better, though I think it is somerhing of a fringe case.
Thank you very much for your praise, glad you like bumblebee-status!
from bumblebee-status.
Ah. That makes sense. In that case maybe just a simple note in the docs that complex commands are beyond the scope of the module. Is the bit that is already in there a typo? It looks like the right way and wrong way are identical.
To be thorough, I tried putting my command in a bash script and calling the script from the shell module. It just gave me a perpetual please wait...
Also, in case it matters to anyone all of the above results are with async=True
. My entire status line goes away without that, but I think issue #1001 already addressed that so no need to dig into it here.
Do you know of a way that does work to prepend a single character (icon) to the beginning of my output? If not, no worries. I'll just use the command that works until I get the time to play around with making my own modules. And maybe I'll put in a separate feature request for a way to attach a custom icon to any module. I think that would be pretty cool.
The praise is genuine. This project really embodies everything that is great about open-source software. Keep up the great work!
from bumblebee-status.
Having it as a separate bash script definitely should work, please wait would indicate the bash script does not terminate, maybe? If you show me the bash script and the bumblebee config, I can gladly try it locally and let you know.
For a custom icon, you have 2 options: The simpler one is to just add it to the output of the bash script via echo (from the font you are using, so for example font awesome). Alternately, you can edit the JSON of the theme you are using, there's settings for the prefix to use.
Hope this helps!
from bumblebee-status.
Related Issues (20)
- Version 2.2.0: module shell only works with async set to true
- Version 2.2.0: ~ is not expanded anymore to home dir
- Laggy output on laptop battery power. HOT 11
- `start-minimized` breaks my statusbar HOT 3
- Sun module throws error into the bar : "error: can't compare offset-naive and offset-aware datetimes" HOT 1
- [doc] building doc on readthedocs fails
- Stock started showing up as 'n/a' HOT 5
- bar became buggy HOT 1
- Logic of aur-update prevents ability to autohide
- Battery never goes up to 100% HOT 8
- System module only shutdown and reboot work HOT 4
- Network module BUG HOT 2
- changing fonts doesn HOT 1
- Changing icon fonts doesn't work. HOT 1
- pulsectl: devicename.lower() may be a breaking change HOT 5
- Parameter names get converted to lowercase when using toml config file HOT 2
- More features to shortcut module HOT 2
- New release HOT 1
- Documentation for modules HOT 2
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 bumblebee-status.