A simple ratbagctl wrapper to quickly switch libratbag mouse profiles.
yay -S set-mouse-config-gitClone the repository and copy the script somewhere in your $PATH (e.g. /usr/local/bin):
git clone https://github.com/JonPC4/set-mouse-config.git
cd set-mouse-config
chmod +x smc
sudo cp smc /usr/local/bin/Now smc is available system-wide.
smc <profile-number>Example:
smc 1This activates profile 1 for the first detected ratbag device.
- libratbag (provides
ratbagctl) bash