def get_items(self): lockscreen_cmd = __kupfer_settings__['lock_cmd'] \ or "xdg-screensaver lock" return ( support.Logout(LOGOUT_CMD), support.LockScreen((lockscreen_cmd.split(" "), )), support.Shutdown(SHUTDOWN_CMD), )
def get_items(self): return ( support.Logout(LOGOUT_CMD), support.LockScreen(LOCKSCREEN_CMD), support.Shutdown(SHUTDOWN_CMD), support.Hibernate(HIBERNATE_CMD), support.Suspend(SUSPEND_CMD), support.Reboot(REBOOT_CMD), support.Restart(REBOOT_CMD), )
def get_items(self): return ( support.Logout(LOGOUT_CMD), support.LockScreen(LOCKSCREEN_CMD), support.Shutdown(SHUTDOWN_CMD), )