From e7eeb03a7d65670e8c5b3d50e23314fdae840549 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 30 Oct 2023 07:46:32 +0200 Subject: qtile: Fix autostart hook --- .config/qtile/config.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/qtile') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 9729b8b..be3b9b8 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -32,6 +32,11 @@ def init_layout_theme(): "border_normal": dracula["bg"], } +@hook.subscribe.startup_once +def autostart(): + autostart_script = os.path.expanduser('~/.config/autostart/autostart.sh') + subprocess.Popen([autostart_script]) + layout_theme = init_layout_theme() layouts = [ -- cgit v1.2.3