#!/bin/bash # KVM Switch: Mac → Nobara # Switches monitor to HDMI 2 # Peripherals: manually press Easy-Switch to Channel 2 echo "Switching to Nobara..." echo " Monitor -> HDMI 2..." m1ddc set input 18 2>/dev/null && echo "Done! Press Easy-Switch for Channel 2" || echo "Monitor switch failed"