services.xserver.desktopManager.surf-display.pointerButtonMap
NixOS option
Disable right and middle pointer device click in browser sessions while keeping scrolling wheels’ functionality intact. See pointer subcommand on man xmodmap for details.
type: stringDefault
declared in: nixos/modules/services/x11/desktop-managers/surf-display.nixView source on NixOS/nixpkgs →"1 0 0 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"