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