Files

26 lines
951 B
Python
Raw Permalink Normal View History

2026-02-24 11:51:37 +01:00
# _ _ _ _ _
# __ _| |_(_) | ___ | |__ ___ ___ | | _____
# / _` | __| | |/ _ \ | '_ \ / _ \ / _ \| |/ / __|
# | (_| | |_| | | __/ | | | | (_) | (_) | <\__ \
# \__, |\__|_|_|\___| |_| |_|\___/ \___/|_|\_\___/
# |_|
# by cerberus
# --------------------------------------------------------------------
# --------------------------------------------------------------------
# Imports
# --------------------------------------------------------------------
from libqtile import hook, qtile
import subprocess
import os.path
# --------------------------------------------------------------------
# HOOK startup
# --------------------------------------------------------------------
@hook.subscribe.startup_once
def autostart():
autostartscript = "~/.config/qtile/res/scripts/autostart.sh"
home = os.path.expanduser(autostartscript)
subprocess.Popen([home])