Hello! This is how I got my joycons working on manjaro, it should work for other arch based systems too. If you're running an ubundi/debian based system you'll have to find another guide.
install the following from package manager:
install dkms
install cmake
install pkgconf
install libudev/libevdev
installing hid-nintendo
[This section has been updated from 3.0 to 3.2, always check the link below to see if there is a new build]
git clone https://github.com/nicman23/dkms-hid-...
cd dkms-hid-nintendo
sudo dkms add .
sudo dkms build nintendo -v 3.2
sudo dkms install nintendo -v 3.2
installing joycond
git clone https://github.com/DanielOgorchock/jo...
cd joycond
cmake .
sudo make install
sudo systemctl enable --now joycond
pair your joycons to your PC (hold down the pairing button until it has finished)
press ZL/ZR to use the joycons together
you're done!