Update order of notifications
This commit is contained in:
parent
f2cbab620f
commit
31e189f376
|
@ -23,9 +23,9 @@ tmp=$(virsh --connect qemu:///system list | grep " win11 " | awk '{ print $3}')
|
||||||
|
|
||||||
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
if ([ "x$tmp" == "x" ] || [ "x$tmp" != "xrunning" ])
|
||||||
then
|
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
|
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
|
sleep 30
|
||||||
else
|
else
|
||||||
notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"
|
notify-send "Virtual Machine win11 is already running." "Launching xfreerdp now!"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user