home/sway: refactor inputs

This commit is contained in:
Guanran Wang 2024-03-06 16:48:01 +08:00
parent 6f45bc254b
commit 0e45e8e390
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -54,14 +54,21 @@
];
### Inputs
input."*" = {
accel_profile = "flat";
natural_scroll = "enabled";
input = {
"*" = {
accel_profile = "flat";
natural_scroll = "enabled";
};
# touchpad
tap = "enabled";
drag = "enabled";
dwt = "disabled";
"type:touchpad" = {
tap = "enabled";
drag = "enabled";
dwt = "disabled";
};
"type:keyboard" = {
xkb_options = "caps:escape";
};
};
### Keybinds