Comments (3)
@andcoz Thank you so much for your report.
It seems to be a predictable behaviour. You can see core.js:139
to find out how it works. If you are eager for a work-around, you are recommended to try the more flexible type toggler
and set command_on
, command_off
and detector
based on your demand. And If you are willing to help me improve the extension, is there a properer grep regular expression that works for you? Maybe grep 'Active: activ[ei]'
(i for "activing")?
from gnome-extension-quicktoggler.
@andcoz Some slight changes are made in the latest commit a608c62 . Does it meet your demand? More feedbacks are welcome.
from gnome-extension-quicktoggler.
I just pulled the latest version and It works like a charm. Thank you.
On my system, the Active:
line of systemctl status
changes as follow when i stop and then start again a service (that forks and exits):
Active: active (exited) since Sun 2016-05-08 18:17:41 CEST; 56s ago
Active: deactivating (stop) since Sun 2016-05-08 18:18:40 CEST; 3s ago
Active: inactive (dead) since Sun 2016-05-08 18:18:48 CEST; 2s ago
Active: activating (start) since Sun 2016-05-08 18:18:59 CEST; 2s ago
Active: active (exited) since Sun 2016-05-08 18:19:07 CEST; 2s ago
So IMHO, the regex Active: activ[ei]
should work well.
from gnome-extension-quicktoggler.
Related Issues (12)
- react on returncode instead of "space" on toggler HOT 2
- Compatibility metadata outdated HOT 2
- encourage people to share their menu entries HOT 2
- GNOME 3.36 compatibility HOT 1
- Not available on Gnome 3.20 HOT 4
- Updating the extension does not keep settings HOT 1
- Reload button n Icons ! HOT 7
- Support for systemd user services HOT 3
- Add localization support HOT 6
- Option to hide "filter" field HOT 1
- Upate on Gnome-Extensions HOT 3
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 gnome-extension-quicktoggler.