sway: pointer accel

This commit is contained in:
Casper V. Kristensen 2024-03-04 17:15:54 +01:00
parent 9d8ffa872c
commit fa33e2b649

View file

@ -13,6 +13,7 @@
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
config = { config = {
# swaymsg -t get_inputs
input = { input = {
"type:keyboard" = { "type:keyboard" = {
xkb_layout = "us"; xkb_layout = "us";
@ -24,9 +25,13 @@
natural_scroll = "enable"; natural_scroll = "enable";
dwt = "disabled"; # don't disable-while-typing dwt = "disabled"; # don't disable-while-typing
}; };
"type:pointer" = { "TODO" = {
accel_profile = "flat"; accel_profile = "flat";
pointer_accel = "0.1"; # pointer SPEED, not acceleration pointer_accel = "0.4"; # pointer SPEED, not acceleration
};
"1133:16489:Logitech_MX_Master_2S" = {
accel_profile = "flat";
pointer_accel = "0.1";
}; };
}; };
output = { output = {