@hook.subscribe.startup_once def autostart(): logger.warning("In autostart function") home = os.path.expanduser('~/.config/qtile/autostart.sh') subprocess.call([home])