summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-30 07:46:32 +0200
committerThanos Apollo <[email protected]>2023-10-30 07:46:32 +0200
commite7eeb03a7d65670e8c5b3d50e23314fdae840549 (patch)
tree628a8ed02452d8c1d5a065582227453539e504a7
parent1f978bd6f17956bfdf8e6d1bb968710b6a405ff3 (diff)
qtile: Fix autostart hook
-rw-r--r--.config/qtile/config.py5
-rw-r--r--.xinitrc1
2 files changed, 5 insertions, 1 deletions
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"],
}
+def autostart():
+ autostart_script = os.path.expanduser('~/.config/autostart/autostart.sh')
+ subprocess.Popen([autostart_script])
+
layout_theme = init_layout_theme()
layouts = [
diff --git a/.xinitrc b/.xinitrc
index 18ac912..a2369e5 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,4 +1,3 @@
#!/bin/sh
/usr/bin/qtile start
-~/.config/autostart/autostart.sh