51 lines
2.2 KiB
TOML
51 lines
2.2 KiB
TOML
[globals]
|
|
listen = ":5051"
|
|
|
|
[[targets]]
|
|
id = "win11"
|
|
commands_to = [
|
|
"sudo virsh attach-device win11 --live --file ~/.config/kvmswitcher/keyboard.xml",
|
|
"sudo virsh attach-device win11 --live --file ~/.config/kvmswitcher/mouse.xml",
|
|
"sudo virsh attach-device win11 --live --file ~/.config/kvmswitcher/binepad.xml",
|
|
"sudo virsh attach-device win11 --live --file ~/.config/kvmswitcher/webcam.xml",
|
|
"sleep 0.5",
|
|
"sudo ddcutil setvcp 0x60 --display 1 0x12",
|
|
"sudo chvt 1",
|
|
]
|
|
commands_from = [
|
|
"sudo virsh detach-device win11 --live --file ~/.config/kvmswitcher/keyboard.xml",
|
|
"sudo virsh detach-device win11 --live --file ~/.config/kvmswitcher/mouse.xml",
|
|
"sudo virsh detach-device win11 --live --file ~/.config/kvmswitcher/binepad.xml",
|
|
"sudo virsh detach-device win11 --live --file ~/.config/kvmswitcher/webcam.xml",
|
|
"sleep 0.5",
|
|
"sudo ddcutil setvcp 0x60 --display 1 0x0f",
|
|
"sleep 0.5",
|
|
"sudo chvt 5",
|
|
]
|
|
|
|
[[targets]]
|
|
id = "hoke"
|
|
commands_to = [
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/keyboard.xml",
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/mouse.xml",
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/binepad.xml",
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/fiio.xml",
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/tonor.xml",
|
|
"sudo virsh attach-device hoke --live --file ~/.config/kvmswitcher/webcam.xml",
|
|
"sleep 0.5",
|
|
"sudo ddcutil setvcp 0x60 --display 1 0x12",
|
|
"sudo chvt 1",
|
|
]
|
|
commands_from = [
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/keyboard.xml",
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/mouse.xml",
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/binepad.xml",
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/fiio.xml",
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/tonor.xml",
|
|
"sudo virsh detach-device hoke --live --file ~/.config/kvmswitcher/webcam.xml",
|
|
"sleep 0.5",
|
|
"sudo ddcutil setvcp 0x60 --display 1 0x0f",
|
|
"sleep 0.5",
|
|
"sudo chvt 5",
|
|
]
|