polish clipboard stuff
This commit is contained in:
		| @@ -3,6 +3,7 @@ import importlib.util | ||||
| import glob | ||||
| import os | ||||
| import time | ||||
| from utils import debug | ||||
|  | ||||
| class commandManager(): | ||||
|     def __init__(self): | ||||
| @@ -27,6 +28,7 @@ class commandManager(): | ||||
|                 environment['runtime']['debug'].writeDebugOut(environment,str(e),debug.debugLevel.ERROR)                 | ||||
|                 continue | ||||
|         return environment | ||||
|  | ||||
|     def executeTriggerCommands(self, environment, trigger): | ||||
|         for cmd in sorted(environment['commands'][trigger]): | ||||
|             try: | ||||
|   | ||||
| @@ -5,7 +5,7 @@ import time | ||||
| # used as shared memory between commands | ||||
| # use this in your own commands | ||||
| commandBuffer = { | ||||
| 'clipboard':['chrys\n', 'test', 'ls\n'], | ||||
| 'clipboard':[], | ||||
| 'currClipboard': 0, | ||||
| 'Marks':{'1':None, '2':None} | ||||
| } | ||||
|   | ||||
| @@ -4,6 +4,7 @@ import evdev | ||||
| from evdev import InputDevice, UInput | ||||
| from select import select | ||||
| import time | ||||
| from utils import debug | ||||
|  | ||||
| class inputManager(): | ||||
|     def __init__(self): | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| #!/bin/python | ||||
| from utils import debug | ||||
|  | ||||
| class outputManager(): | ||||
|     def __init__(self): | ||||
|         pass | ||||
|   | ||||
		Reference in New Issue
	
	Block a user