From 45145efcb88aefa53bfa547fdbaeaa12632d55cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 30 Jan 2021 21:25:27 +0100 Subject: [PATCH] x: Import the environment on startup This is required to set the DISPLAY variable correctly. --- x/xinitrc | 1 + 1 file changed, 1 insertion(+) diff --git a/x/xinitrc b/x/xinitrc index 5c0b3d5..22e06d3 100644 --- a/x/xinitrc +++ b/x/xinitrc @@ -20,6 +20,7 @@ fi start_wm() { log "starting i3" + systemctl --user import-environment systemctl --user start windowmanager.target sleep 1 systemctl --user start autostart.target