Set precision of trackpoint/touchpads

This commit is contained in:
Thomas Avé 2025-02-09 13:44:00 +01:00
parent ad6b113e59
commit e82148131f
3 changed files with 13 additions and 3 deletions

View File

@ -8,11 +8,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
"path": "/nix/store/qjak07fyqvppk5cvhsjp0a8bbf9wh6l9-source/home/ags", "path": "/nix/store/rsbqambxxdj4kad8z8c562ra35cchx9k-source/home/ags",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/qjak07fyqvppk5cvhsjp0a8bbf9wh6l9-source/home/ags", "path": "/nix/store/rsbqambxxdj4kad8z8c562ra35cchx9k-source/home/ags",
"type": "path" "type": "path"
} }
}, },

View File

@ -170,6 +170,7 @@ in {
follow_mouse = 1; follow_mouse = 1;
kb_options = pkgs.lib.mkDefault "compose:rctrl, shift:both_capslock, caps:ctrl_modifier"; kb_options = pkgs.lib.mkDefault "compose:rctrl, shift:both_capslock, caps:ctrl_modifier";
numlock_by_default = true; numlock_by_default = true;
force_no_acel = true;
}; };
binds = { scroll_event_delay = 1; }; binds = { scroll_event_delay = 1; };
xwayland = { force_zero_scaling = true; }; xwayland = { force_zero_scaling = true; };
@ -198,6 +199,16 @@ in {
workspace_swipe = "on"; workspace_swipe = "on";
workspace_swipe_invert = false; workspace_swipe_invert = false;
}; };
device = [
{
name = "tpps/2-ibm-trackpoint";
sensitivity = "+1.0";
}
{
name = "synaptics-tm3276-022";
sensitivity = "+0.5";
}
];
workspace = [ workspace = [
"w[tv1], gapsout:0, gapsin:0" "w[tv1], gapsout:0, gapsin:0"
"f[1], gapsout:0, gapsin:0" "f[1], gapsout:0, gapsin:0"

View File

@ -29,7 +29,6 @@
bash-language-server bash-language-server
docker-compose-language-service docker-compose-language-service
dockerfile-language-server-nodejs dockerfile-language-server-nodejs
vim-language-server
lua-language-server lua-language-server
rust-analyzer rust-analyzer
gopls gopls