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,16 +54,23 @@
]; ];
### Inputs ### Inputs
input."*" = { input = {
"*" = {
accel_profile = "flat"; accel_profile = "flat";
natural_scroll = "enabled"; natural_scroll = "enabled";
};
# touchpad "type:touchpad" = {
tap = "enabled"; tap = "enabled";
drag = "enabled"; drag = "enabled";
dwt = "disabled"; dwt = "disabled";
}; };
"type:keyboard" = {
xkb_options = "caps:escape";
};
};
### Keybinds ### Keybinds
modifier = "Mod4"; modifier = "Mod4";
keybindings = let keybindings = let