Collecting my attempts to improve at tech, art, and life

My Qtile hooks module

Tags: config

Hooks specific functions to specific Qtile events.

Imports

import os
import subprocess

from libqtile import hook

Run autostart.sh once on startup

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