Dots/configs/qtile/modules/autostart.py
2023-04-19 11:04:08 +01:00

14 lines
321 B
Python

import os
import subprocess
from libqtile import hook
@hook.subscribe.startup_once
def autostart():
home = os.path.expanduser('~/.config/qtile/autostart.sh')
subprocess.Popen([home])
@hook.subscribe.startup
def runner():
import subprocess
subprocess.Popen(['xsetroot', '-cursor_name', 'left_ptr'])