Skip to content

Keybind for cycling through layout engines #797

Answered by dalyIsaac
sun-wise-man asked this question in Q&A
Discussion options

You must be logged in to vote

I've just made a new release with two commands built in, as I'm planning to update how this works a bit in a future release.

With the new built-in commands, you can do:

context.KeybindManager.SetKeybind("whim.core.cycle_layout_engine.next", new Keybind(KeyModifiers.LControl | KeyModifiers.LShift | KeyModifiers.LAlt, VIRTUAL_KEY.VK_L));
context.KeybindManager.SetKeybind("whim.core.cycle_layout_engine.previous", new Keybind(KeyModifiers.LControl | KeyModifiers.LShift | KeyModifiers.LAlt | KeyModifiers.LWin, VIRTUAL_KEY.VK_L));

If you were planning to create custom commands, you'd do something like this (for now, until #796 is merged):

context.CommandManager.Add("activate_next_layout", "Acti…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sun-wise-man
Comment options

@dalyIsaac
Comment options

Answer selected by sun-wise-man
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants