Comments (2)
Here is my contribution anyway:
{
"entries": [
{
"type": "submenu",
"title": "Quick Toggler",
"entries": [
{
"type": "launcher",
"title": "Settings...",
"command": "gnome-shell-extension-prefs [email protected]"
},
{
"type": "launcher",
"title": "Edit Entries...",
"command": "subl ~/.entries.json"
},
{
"type": "launcher",
"title": "Add Entry...",
"command": "addentry.sh"
}
]
},
{
"type": "separator"
},
{
"type": "toggler",
"title": "Screen Brightness - Dim DP-0",
"command_on": "xrandr --output DP-0 --brightness .7",
"command_off": "xrandr --output DP-0 --brightness 1"
},
{
"type": "separator"
},
{
"type": "tmux",
"title": "Top process",
"session": "top-process",
"command": "while true; do gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas set org.gnome.shell.extensions.quicktoggler indicator-text \"$(ps -eo pcpu,comm --no-headers| sort -t. -nk1,2 -k4,4 -r |head -n 1)\"; sleep 2; done"
}
]
}
from gnome-extension-quicktoggler.
Thank you for providing a nice idea. I have done something similar in https://github.com/Shihira/gnome-extension-quicktoggler/tree/master/examples, but clearly no one would like to do a PR in order only to post some examples. Making use of issues should be better. I will consider to add such a link to the README.
from gnome-extension-quicktoggler.
Related Issues (12)
- "wrong" detection of service status HOT 3
- react on returncode instead of "space" on toggler HOT 2
- Compatibility metadata outdated 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.