diff --git a/.config/sway/config b/.config/sway/config index 060cd00..3a58aa7 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -134,23 +134,44 @@ for_window [window_role="bubble"] floating enable for_window [window_role="dialog"] floating enable for_window [window_type="dialog"] floating enable -input * +input 1:1:AT_Translated_Set_2_keyboard +{ + # laptop kbd + xkb_layout gb,sk + xkb_options grp:win_space_toggle,compose:ralt + xkb_variant ",qwerty" + repeat_delay 280 + repeat_rate 55 +} + +input 1133:16522:Logitech_MX_Keys { xkb_layout gb,sk xkb_options grp:win_space_toggle,compose:ralt xkb_variant ",qwerty" repeat_delay 280 repeat_rate 55 +} + +input 1102:4619:DLL07A7:01_044E:120B +{ + # touchpad + accel_profile adaptive tap enabled # disable-while-typing dwt enabled natural_scroll enabled scroll_method two_finger + # lrm treats 1 finger as left click, 2 fingers as right click, and 3 + # fingers as middle click. tap_button_map lrm } -input 1102:4619:DLL07A7:01_044E:120B +input 1149:8264:Primax_Kensington_Eagle_Trackball { + # scroll_factor 1.5 + scroll_factor 0.5 + natural_scroll enabled accel_profile adaptive dwt enabled }