hyprland-dotfiles/scripts/launchvm.sh

11 lines
302 B
Bash
Raw Normal View History

2023-02-20 11:42:39 +00:00
#!/bin/bash
virsh --connect qemu:///system start win11
2023-02-20 13:40:39 +00:00
echo "Waiting 20 sec for Windows 11 startup..."
sleep 20
2023-02-20 11:42:39 +00:00
echo "Starting xfreerdp now..."
2023-02-20 14:57:18 +00:00
xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
2023-02-22 10:06:09 +00:00
sleep 3
2023-02-20 11:42:39 +00:00
2023-02-22 10:06:09 +00:00
return 0