From 5f53e3d3496f7621ee82d0de5e8bdcc31b84da38 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Tue, 2 Apr 2024 19:24:56 +0200
Subject: Use graphical-session.target
---
.config/awesome/rc.lua | 4 ++++
1 file changed, 4 insertions(+)
(limited to '.config/awesome/rc.lua')
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 2c9eebc..3a37bba 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -704,3 +704,7 @@ client.connect_signal("unfocus", function(c)
c.border_color = beautiful.border_normal
end)
-- }}}
+
+awful.util.spawn("systemctl --user import-environment DISPLAY")
+awful.util.spawn("systemctl --user import-environment XAUTHORITY")
+awful.util.spawn("systemctl --user start awesome-session.target")
--
cgit v1.1