initial single press integration
This commit is contained in:
		| @@ -0,0 +1,33 @@ | ||||
| #!/bin/python | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| # Fenrir TTY screen reader | ||||
| # By Chrys, Storm Dragon, and contributers. | ||||
|  | ||||
| from core import debug | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def initialize(self, environment): | ||||
|         self.env = environment | ||||
|     def shutdown(self): | ||||
|         pass | ||||
|     def getDescription(self): | ||||
|         return 'No description found'          | ||||
|     def load(self): | ||||
|         print('--------------') | ||||
|         print('agetty')     | ||||
|         print('load old',self.env['screenData']['oldApplication']) | ||||
|         print('load new',self.env['screenData']['newApplication'])         | ||||
|         print('--------------') | ||||
|          | ||||
|     def unload(self): | ||||
|         print('--------------') | ||||
|         print('agetty')     | ||||
|         print('unload old',self.env['screenData']['oldApplication']) | ||||
|         print('unload new',self.env['screenData']['newApplication'])       | ||||
|         print('--------------') | ||||
|            | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
| @@ -0,0 +1,33 @@ | ||||
| #!/bin/python | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| # Fenrir TTY screen reader | ||||
| # By Chrys, Storm Dragon, and contributers. | ||||
|  | ||||
| from core import debug | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def initialize(self, environment): | ||||
|         self.env = environment | ||||
|     def shutdown(self): | ||||
|         pass | ||||
|     def getDescription(self): | ||||
|         return 'No description found'          | ||||
|     def load(self): | ||||
|         print('--------------') | ||||
|         print('bash') | ||||
|         print('load old',self.env['screenData']['oldApplication']) | ||||
|         print('load new',self.env['screenData']['newApplication'])         | ||||
|         print('--------------') | ||||
|          | ||||
|     def unload(self): | ||||
|         print('--------------') | ||||
|         print('bash') | ||||
|         print('unload old',self.env['screenData']['oldApplication']) | ||||
|         print('unload new',self.env['screenData']['newApplication'])         | ||||
|         print('--------------') | ||||
|          | ||||
|     def setCallback(self, callback): | ||||
|         pass        | ||||
| @@ -0,0 +1,33 @@ | ||||
| #!/bin/python | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| # Fenrir TTY screen reader | ||||
| # By Chrys, Storm Dragon, and contributers. | ||||
|  | ||||
| from core import debug | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def initialize(self, environment): | ||||
|         self.env = environment | ||||
|     def shutdown(self): | ||||
|         pass | ||||
|     def getDescription(self): | ||||
|         return 'No description found'          | ||||
|     def load(self): | ||||
|         print('--------------') | ||||
|         print('default')     | ||||
|         print('load old',self.env['screenData']['oldApplication']) | ||||
|         print('load new',self.env['screenData']['newApplication'])         | ||||
|         print('--------------') | ||||
|          | ||||
|     def unload(self): | ||||
|         print('--------------') | ||||
|         print('default')     | ||||
|         print('unload old',self.env['screenData']['oldApplication']) | ||||
|         print('unload new',self.env['screenData']['newApplication'])       | ||||
|         print('--------------') | ||||
|            | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
| @@ -0,0 +1,33 @@ | ||||
| #!/bin/python | ||||
| # -*- coding: utf-8 -*- | ||||
|  | ||||
| # Fenrir TTY screen reader | ||||
| # By Chrys, Storm Dragon, and contributers. | ||||
|  | ||||
| from core import debug | ||||
|  | ||||
| class command(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|     def initialize(self, environment): | ||||
|         self.env = environment | ||||
|     def shutdown(self): | ||||
|         pass | ||||
|     def getDescription(self): | ||||
|         return 'No description found'          | ||||
|     def load(self): | ||||
|         print('--------------') | ||||
|         print('vim')     | ||||
|         print('load old',self.env['screenData']['oldApplication']) | ||||
|         print('load new',self.env['screenData']['newApplication'])         | ||||
|         print('--------------') | ||||
|          | ||||
|     def unload(self): | ||||
|         print('--------------') | ||||
|         print('vim')     | ||||
|         print('unload old',self.env['screenData']['oldApplication']) | ||||
|         print('unload new',self.env['screenData']['newApplication'])       | ||||
|         print('--------------') | ||||
|            | ||||
|     def setCallback(self, callback): | ||||
|         pass | ||||
		Reference in New Issue
	
	Block a user