yay -S display-switch-git
- doc : https://github.com/haimgel/display-switch
- Note that the preferred way is to have this app installed on both computers. Switching "away" is problematic: if the other computer has put the monitors to sleep, they will switch immediately back to the original input.