hyprland-dotfiles/scripts/launchvm.sh
2023-02-22 11:06:09 +01:00

11 lines
302 B
Bash
Executable File

#!/bin/bash
virsh --connect qemu:///system start win11
echo "Waiting 20 sec for Windows 11 startup..."
sleep 20
echo "Starting xfreerdp now..."
xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
sleep 3
return 0