Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to activate mode by using mode name via cli? #379

Open
Zik42 opened this issue Dec 17, 2024 · 2 comments
Open

Is there a way to activate mode by using mode name via cli? #379

Zik42 opened this issue Dec 17, 2024 · 2 comments

Comments

@Zik42
Copy link

Zik42 commented Dec 17, 2024

I have a lot of modes in skhd, that are nested. Is there other way to activate some of the mods, using skhd cli? Right now I do use skhd -k command to invoke keybinding to activate those, but its not very consistent

@aresler
Copy link

aresler commented Feb 10, 2025

Looks like this should be converted to a feature request.

@pabroux
Copy link

pabroux commented Mar 5, 2025

I have a lot of modes in skhd, that are nested. Is there other way to activate some of the mods, using skhd cli? Right now I do use skhd -k command to invoke keybinding to activate those, but its not very consistent

What about using keyboard shortcuts? Here is in my way to switch mode:

# Available mode
:: default
:: silence

# Change mode
default < fn + ctrl + lalt + lshift - s ; silence
silence < fn + ctrl + lalt + lshift - s ; default

# Configure Yabai (modifier: fn + ctrl + lalt + lcmd)
# ↳ Change layout of space
default < fn + ctrl + lalt + lcmd - a : yabai -m space --layout bsp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants