x: Import the environment on startup
This is required to set the DISPLAY variable correctly.
This commit is contained in:
@@ -20,6 +20,7 @@ fi
|
|||||||
|
|
||||||
start_wm() {
|
start_wm() {
|
||||||
log "starting i3"
|
log "starting i3"
|
||||||
|
systemctl --user import-environment
|
||||||
systemctl --user start windowmanager.target
|
systemctl --user start windowmanager.target
|
||||||
sleep 1
|
sleep 1
|
||||||
systemctl --user start autostart.target
|
systemctl --user start autostart.target
|
||||||
|
|||||||
Reference in New Issue
Block a user