aboutsummaryrefslogtreecommitdiff
path: root/lmlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'lmlib.py')
-rw-r--r--[-rwxr-xr-x]lmlib.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lmlib.py b/lmlib.py
index 364dd9a..a5206e5 100755..100644
--- a/lmlib.py
+++ b/lmlib.py
@@ -19,27 +19,27 @@ logout_manager_version="2019-06-12b"
class Actions:
@staticmethod
- def hibernate(config):
+ def hibernate(config, event=None):
#print("need to run the /sys/power/state trick, if available")
print(config.get_hibernate_command())
@staticmethod
- def lock(config):
+ def lock(config, event=None):
#print("please lock the screen.")
print(config.get_lock_command())
@staticmethod
- def logout(config):
+ def logout(config, event=None):
#print("please log out of current session!")
print(config.get_logout_command())
@staticmethod
- def reboot(config):
+ def reboot(config, event=None):
#print("please reboot.")
print(config.get_reboot_command())
@staticmethod
- def shutdown(config):
+ def shutdown(config, event=None):
#print("please shut yourself down!")
print(config.get_shutdown_command())
bgstack15