How to set the automatic disable touchpad after plugging in the external mouse?

Hi @ranaground, and welcome!

After some googling I found this reddit question stating:

You need to make sure you install libinput. Then it’ll be under Pointing Devices, rather than touchpad settings

So, I’m guessing it has to do with that. And libinput is in the extra repositories:

$ pamac search libinput
[...]
libinput                                                                                                                                                                                                    [Installed] 1.19.3-1                  extra
Input device management and event handling library

So, in theory it can be installed with:

pamac install libinput

However, I see many libinput- packages there, and it might easily be one of/none of them and I wouldn’t know, nor would anyone else without additional information.