sway: Increase scroll factor, add middle emulation

This commit is contained in:
Alex Palaistras 2024-01-21 16:00:10 +00:00
parent d5012ab59d
commit 6e622248d6
1 changed files with 17 additions and 13 deletions

View File

@ -40,21 +40,25 @@ bindswitch --reload --locked {
}
# Input configuration.
input "type:keyboard" {
xkb_layout us,gr
xkb_options grp:caps_toggle,grp_led:caps
repeat_delay 400
repeat_rate 80
}
input {
"type:keyboard" {
xkb_layout us,gr
xkb_options grp:caps_toggle,grp_led:caps
repeat_delay 400
repeat_rate 80
}
input "type:touchpad" {
tap enabled
natural_scroll enabled
}
"type:touchpad" {
tap enabled
natural_scroll enabled
}
input "type:pointer" {
accel_profile adaptive
pointer_accel 0.5
"type:pointer" {
accel_profile adaptive
middle_emulation enabled
pointer_accel 0.5
scroll_factor 1.5
}
}
# Hide cursor after 30 seconds of inactivity.