#!/bin/sh # # Turn off High Resolution Wheel Scroll # IDX=$(xinput list | grep "Performance MX" | awk '{print $6}' | cut -d "=" -f 2) for id in $IDX do xinput set-prop $id 'libinput High Resolution Wheel Scroll Enabled' 0 done