-
Notifications
You must be signed in to change notification settings - Fork 212
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
keywords (modifiers and literals) #1
Comments
Consider looking at cliclick as well. |
Is there any support for keys like '=' or '`' ? |
No idea, I've never tried to map those. You can always map the key using its keycode though. '=' is 0x1D on my keyboard. You can find this in the pictures above, |
@Njiallu: '`' (
works :) |
For me, |
@FranzSkuffka These all work for me. Note that the order you define your binds in matters: if you define # shift - x : terminal-notifier -message "shift - x"
lshift - x : terminal-notifier -message "lshift - x"
rshift - x : terminal-notifier -message "rshift - x" If you have a specific question, you should file a separate issue and add your skhdrc file. |
I can't seem to bind period
This actually corrupts alt+0-9 |
Try writing it in capital case, i.e. 0x2B instead of 0x2b. |
I try to play/pause media with the f8-key (not the "picture-key") but unfortunately it doesn't work with media key trigger below. Instead I get a "z" key output. |
Thanks for the documentation! Can you pin this issue so it's easier to find? https://docs.github.com/en/github/managing-your-work-on-github/pinning-an-issue-to-your-repository |
For reference to someone having had my same issue, when assigning the |
Is there a way to define any key as a modifier? or even better give it dual action? Eg if capslock is held treat it as the shift key or if update: nvm I think what I'm looking for on mac is https://karabiner-elements.pqrs.org/ here is an example of what you can do with it:
|
I have this setup, works great:
|
I'm trying to map ctrl - insert/del/home/end/pgup/pgdw and it's not working. For example Edit: the literals |
what if it doesn't have any alphabets ? |
If you are a Linux user, I would suggest this
|
Is there wa way to define chords or leader keys? Such as in VSCode, Command-K exposes a new set of key bindings, and in tmux, control-B will do the same. Can we do this in skhd? |
There's a support for that with "modes". I have this example in my rcfile, who knows from where now.. # add an on_enter command to the default mode
:: default : yabai -m config active_window_border_color 0xaa33bbaa
#
# defines a new mode 'test' with an on_enter command, that captures keypresses
:: test @ : yabai -m config active_window_border_color 0xff24ccaa
#
# from 'default' mode, activate mode 'test'
cmd - x ; test
#
# from 'test' mode, activate mode 'default'
test < cmd - x ; default
#
# launch a new terminal instance when in either 'default' or 'test' mode
default, test < cmd - return : open -na /Applications/Terminal.app |
anyone know how to map the backtick key? |
try 0x32 |
thanks! got it working. 👍 |
Hi, I use a keyboard on Mac with the Globe key. Any idea on how to use it with SKHD ? I tried the |
I do get |
Trying to map tab key, any ideas?
I tried to use "0x30" from keycode image and "0x30001" from observer. |
If anyone wonders: this pegs the shortcut to a specific physical key position. If the user changes keyboard layout, it triggers on whichever character happens to be at that physical position in the new layout. See this issue for more information |
For tab, it's just |
Were you successful? I'm trying to bind the emoji-menu (globe+e) to a shortcut, but can't get it to work. |
As I constantly switch between Mac and Linux and have a regular "Windows" style keyboard I wanted to remap the Windows Switch from cmd tab to lalt tab. I tried several variations but non works. I have
for a brief test I replaced it with
which nicely prints a x whenever I press option+tab. What's the correct pattern to submit an lalt+tab event? Thanks! And thanks for that great tool. I couldn't get Karabiner Elements to work due to limitations of my company.
|
Thank you very much!!!!! |
@hellomyzn @Zdmai Hi, can you feel the delay of the simulated keypress? |
yeah!!! compare to karabiner |
How can I defined multiple letter keys to perform an action? For instance, only perform an action if |
Exactly the same for me. |
I discovered a nifty trick, which is maybe not intended to be like that but can be quite useful: e.g.:
|
modifiers (<mod>):
key literals:
keycodes:
OR
Launch skhd in observer mode:
skhd --observe
orskhd -o
. Pressctrl+c
to quit.The text was updated successfully, but these errors were encountered: