add first trigger
This commit is contained in:
parent
af78d252ba
commit
7d6e1008a5
13
src/fenrir-package/commands/onScreenChanged/10000-shut_up.py
Normal file
13
src/fenrir-package/commands/onScreenChanged/10000-shut_up.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/python
|
||||||
|
|
||||||
|
class command():
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
def run(self, environment):
|
||||||
|
if environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
|
||||||
|
environment['runtime']['speechDriver'].cancel()
|
||||||
|
return environment
|
||||||
|
def setCallback(self, callback):
|
||||||
|
pass
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user