All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
13 lines
405 B
Bash
Executable File
13 lines
405 B
Bash
Executable File
#!/bin/bash
|
|
# KVM Switch: Nobara → Mac
|
|
# Switches monitor to USB-C
|
|
# Peripherals: manually press Easy-Switch to Channel 3
|
|
|
|
echo "Switching to Mac..."
|
|
echo " Monitor -> USB-C..."
|
|
if command -v ddcutil &>/dev/null; then
|
|
ddcutil setvcp 60 27 2>/dev/null && echo "Done! Press Easy-Switch for Channel 3" || echo "Monitor switch failed"
|
|
else
|
|
echo "ddcutil not installed: sudo dnf install ddcutil"
|
|
fi
|