From 9a34c397766b762fb8cc50c0c04003922ccb80c6 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Tue, 14 Jul 2020 21:46:54 +0200 Subject: [PATCH] [qtile] fixed loading of startup script --- qtile/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qtile/config.py b/qtile/config.py index a94df15..b784031 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -231,6 +231,8 @@ wmname = "LG3D" @hook.subscribe.startup_once def start_once(): """Run after qtile is started""" + import os import subprocess - subprocess.Popen('~/.config/qtile/startup.sh') + autostart_file = os.path.expanduser('~/.config/qtile/startup.sh') + subprocess.call([autostart_file])