Update order of notifications

This commit is contained in:
Stephan Raabe 2023-10-09 15:54:11 +02:00
parent f2cbab620f
commit 31e189f376

View File

@ -23,9 +23,9 @@ tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}')
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
then
echo "Virtual Machine win11 is starting now... Waiting 30s before starting xfreerdp."
notify-send "Virtual Machine win11 is starting now..." "Waiting 30s before starting xfreerdp."
virsh --connect qemu:///system start win11
echo "Virtual Machine win11 is starting... Waiting 45s for booting up."
notify-send "Virtual Machine win11 is starting..." "Waiting 30s for booting up."
sleep 30
else
notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"