Feature Request: Toggle via commandline
See original GitHub issueI’d like a way to toggle cerebro on via the commandline, instead of via a hotkey. The reason is that I use my window manager to do all my other keyboard remapping, and it would be nice to have it all in one place. The idea is that calling a new command cerebro-toggle
from the commandline would be the equivalent of hitting the hot-key. Oh, and providing a way to disable the hotkey would be nice too. If running and in the tray it’s still available via right-click, after all.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Feature Request: command line to switch profile #1165 - GitHub
Karabiner-Elements allows several profiles, but it needs to switch manually. If it can provide a command to switch profile, then it can be...
Read more >Enable or Disable Windows Features Using DISM
You can use DISM's Features commands to enable or disable Windows features directly from the command prompt, or by applying an answer file ......
Read more >Find and toggle any on/off setting from the Command Palette
Open the settings from the command palette and then look for the setting you want. Might even have to touch the mouse and...
Read more >Command line options - AWS Documentation
Specifies the URL to send the request to. For most commands, the AWS CLI automatically determines the URL based on the selected service...
Read more >Feature flags - GitLab Docs
GitLab uses Unleash, a feature toggle service. By enabling or disabling a flag in GitLab, your application can determine which features to enable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok, I’m not a big javascripter but listening on a udp sock was simple enough for one funny hack for getting cerebro working in gnome/wayland:
In the git version go to
/app/main/createWindow.js
so that you can toggle it via an
echo "a" > /dev/udp/127.0.0.1/41234
which you put into a script and bind that to the Ctrl-Space gnome hotkey.Thanks @maximbaz ! For my use cases starting it is enough (no need for the hiding of a toggle functionality).