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

Remapping keys and setting repeat rate under Sway/Wayland #5207

Closed
fourstepper opened this issue Apr 11, 2020 · 3 comments
Closed

Remapping keys and setting repeat rate under Sway/Wayland #5207

fourstepper opened this issue Apr 11, 2020 · 3 comments

Comments

@fourstepper
Copy link

I have these lines in my i3/sway config -

Set caps as secondary escape and swap lalt with lwin

exec --no-startup-id setxkbmap -option 'caps:escape' -option 'altwin:swap_lalt_lwin'

Key repeat rate

exec --no-startup-id xset r rate 200 30

I understand that these won't work as these are exclusive to xorg. Are there similar settings available for Wayland/Sway?

#2321 - this would cover the key repeat rate

Similarly, is there perhaps a tool such as imwheel for setting the scroll speed?

Thank you

@emersion
Copy link
Member

See man sway-input.

@ProgrammingLife
Copy link

Is this problem solved? I don't have Sway yet but I'm also curious about that.

@fourstepper
Copy link
Author

@ProgrammingLife, yeah, setting repeat rate can be set like this:

input type:keyboard {
    repeat_delay 200
    repeat_rate 30
}

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

No branches or pull requests

3 participants