Added support for shutdown
This commit is contained in:
parent
2bcbbaafd2
commit
ed0d28ab1c
3 changed files with 5 additions and 2 deletions
|
@ -104,7 +104,7 @@ class Fl0w:
|
|||
|
||||
def wallaby_control_submenu(self, wallaby):
|
||||
menu = Menu(subtitles=False)
|
||||
for command in ("Stop", "Restart", "Reboot", "Disconnect"):
|
||||
for command in ("Stop", "Restart", "Shutdown", "Reboot", "Disconnect"):
|
||||
menu.add(Entry(command, action=self.sock.send, kwargs={"data" : {wallaby : command.lower()}, "route" : "wallaby_control"}))
|
||||
menu.invoke(self.window)
|
||||
|
||||
|
|
Reference in a new issue