x: Import the environment on startup

This is required to set the DISPLAY variable correctly.
This commit is contained in:
2021-01-30 21:25:27 +01:00
parent 71a0886d46
commit a0968ba34a

View File

@@ -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