path: weechat-scripts_20260123-1/python/i3lock_away.py def check(): """Check for existance of process and set away if it isn't there""" pidof = subprocess.Popen("pidof i3lock", shell=True, stdout=subprocess.PIPE) pidof.wait()