archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.03k stars 104 forks source link

[newm] Change keyboard repeat delay and repeat rate #327

Closed gavales closed 8 months ago

gavales commented 1 year ago

Hey Adi, I'm happily using your newm build, great job btw.

I wanted to do as the title describes. I've narrowed it down to the xkb_options key in the pywm table in newm's config.py:

pywm = {
    'xkb_model': "",
    'xkb_layout': "gb",
    'xkb_variant': "",
    'xkb_options': "AutoRepeat 100 40",
    'enable_xwayland': True,
    'xcursor_theme': 'LyraY',
    'xcursor_size': 64,
    'tap_to_click': True,
    'natural_scroll': True,
    'focus_follows_mouse': True,
    'contstrain_popups_to_toplevel': True,
    'encourage_csd': False,
    'texture_shaders': 'basic',
    'renderer_mode': 'pywm',
}

Is there a specific syntax for setting this option?

Thanks

adi1090x commented 8 months ago

Just standard python syntax, nothing else.