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

capslock = overload(control, esc) doesnt work when ctrl is used for layout changing #818

Open
stCarolas opened this issue Aug 20, 2024 · 0 comments

Comments

@stCarolas
Copy link

stCarolas commented Aug 20, 2024

Sway WM, to reproduce we should have in sway config

input type:keyboard {
    xkb_layout us,ru
    xkb_options grp:lctrl_rctrl_switch,ctrl:nocaps
}

and in keyd config

[ids]
*

[main]
capslock = overload(control, esc)

As result, capslock would work as Esc when pressed but will do nothing while held.

This scenario usually works great with old XCape and with https://codeberg.org/valpackett/evscript for example

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

1 participant