[go: up one dir, main page]

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

Switching between Dovark and Qwerty (US) #677

Closed
dwrz opened this issue Feb 29, 2024 · 1 comment
Closed

Switching between Dovark and Qwerty (US) #677

dwrz opened this issue Feb 29, 2024 · 1 comment

Comments

@dwrz
Copy link
dwrz commented Feb 29, 2024

Is there an included layout for the default US Keyboard, or would I need to define my own?

Is there a way to switch the default layout, or would I need to implement QWERTY as a layer?

I would like to be able to toggle between US and QWERTY, in case someone else needs to use my computer. I can stop and resume keyd as an alternative, but wondering if there's a more fluid alternative.

include layouts/dvorak

[ids]
*

[global]
default_layout = dvorak
layer_indicator = 1

[main]
capslock = layer(nav)
shift = layer(dvorak_shift)
rightalt = layer(control)
leftalt = layer(meta)
meta = layer(alt)

[nav]
k = left
l = down
o = up
; = right
rvaiya added a commit that referenced this issue Mar 8, 2024
There is presently no way to revert to the 'default' (no) layout.
This patch makes setlayout(main) functionally equivalent to clearing
the applied layout (if present).
@rvaiya
Copy link
Owner
rvaiya commented Mar 8, 2024

Using the latest commit, you can do something like this:

include layouts/dvorak

[nav]
e = setlayout(dvorak)
w = setlayout(main)

which will allow you to switch layouts using capslock+w (qwerty) and capslock+e (dvorak).

@dwrz dwrz closed this as completed Mar 8, 2024
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

2 participants