initial commit

This commit is contained in:
2026-02-24 11:51:37 +01:00
parent e79551e289
commit e20a3e51a0
23 changed files with 2184 additions and 0 deletions

25
modules/hooks.py Normal file
View File

@@ -0,0 +1,25 @@
# _ _ _ _ _
# __ _| |_(_) | ___ | |__ ___ ___ | | _____
# / _` | __| | |/ _ \ | '_ \ / _ \ / _ \| |/ / __|
# | (_| | |_| | | __/ | | | | (_) | (_) | <\__ \
# \__, |\__|_|_|\___| |_| |_|\___/ \___/|_|\_\___/
# |_|
# 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])