Comments (8)
The same issue in Amethyst ianyh/Amethyst#1091
from aerospace.
As a workaround, you can use skhd, a single line in the config:
lalt - l : aerospace focus right
from aerospace.
@wojciech-kulik, neat solution. Would be good if this was included in aerospace in future though but good to have a workaround
from aerospace.
Unfortunately this workaround doesn't work when secure input is enabled, which is sometimes enforced by running apps 😢
from aerospace.
I also miss this feature. The only solution for me is to disable the AeroSpace when typing special letters.
from aerospace.
Someone wanted to add this keys but it seems it does not work.
from aerospace.
Due to this issue I stopped using Aerospace (and Mac altogether) for some time. However, I need to swtich to MacOS temporarily and having used i3 for quite some time I decided to figure out the solution. I saw the skhd workaround, though I was under the impression that Aerospace was intercepting the option key completely in that version. I haven't checked the code if anything changed in that area but in the latest version I got this to work (with a workaround) and since I am using karabiner with goku for my keyboard shortcuts, I will paste my version of the workaround.
karabiner.edn
:main [
{:des "Change left_option to 3 modifiers combination, f17 when used alone"
:rules [[:left_option :!COleft_control nil {:alone [:f17]}]]}
]
this remaps left option to alt-cmd-ctrl, which can then be used in Aerospace shortcuts, leaving right option as the default modifier for accented letters. I also had to modify other shortcuts from alt to alt-cmd-ctrl but the sample below should be enough to get started.
.aerospace.toml
alt-cmd-ctrl-1 = 'workspace 1'
alt-cmd-ctrl-2 = 'workspace 2'
alt-cmd-ctrl-3 = 'workspace 3'
alt-cmd-ctrl-4 = 'workspace 4'
alt-cmd-ctrl-5 = 'workspace 5'
alt-cmd-ctrl-shift-1 = 'move-node-to-workspace 1'
alt-cmd-ctrl-shift-2 = 'move-node-to-workspace 2'
alt-cmd-ctrl-shift-3 = 'move-node-to-workspace 3'
alt-cmd-ctrl-shift-4 = 'move-node-to-workspace 4'
alt-cmd-ctrl-shift-5 = 'move-node-to-workspace 5'
I think karabiner does not need Secure Input to be disabled. It would be awesome if Aerospace could differentiate between left and right modifier keys by itself so perhaps this issue should be left open for reference. But the workaround works well enough that my original problem is resolved.
from aerospace.
Another workaround: I have a mode in aerospace which doesn't bind any keys, allowing me to easily "pause" aerospace.
cmd-semicolon = 'mode X'
[mode.X.binding]
# A mode to just pass keys through!
cmd-semicolon = 'mode main'
esc = 'mode main'
from aerospace.
Related Issues (20)
- Having Godot engine opened results in a massive lag when trying to switch workspaces
- Hide windows in same workspace as where they exist (keep on same monitor when hidden) HOT 3
- Ability to ignore something? HOT 3
- AeroSpace moves CleanShot X's supplementary UI elements to primary monitor HOT 2
- Workspace 10 when using external monitor HOT 3
- All keys are ignored HOT 4
- [Feature] Alias for combinations HOT 1
- [Bug] Non-native menubar dropdown issue in multi-monitor setup HOT 1
- Add a possibility to "await" the moment when new window opens
- Feature Request: Option to alternate layouts when opening windows HOT 1
- Incorrect window and workspace focus with multiple monitor HOT 2
- Feature: on-focus-changed callback
- `--macos-native-*` flags are broken in `list-windows` command HOT 1
- question: anyway to list all apps and their workspace ids? HOT 2
- Native crash 0.11.0-Beta when switching between native fullscreen window back and forth
- Option to hide windows instead of resizing them into the corner HOT 4
- Feature: interactive commands
- Bug: wezterm windows are not recognized in beta-0.11 HOT 8
- Switching workspaces on one monitor hides fullscreen app on second monitor
- Feature request: shell completion
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 aerospace.