aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.xinitrc b/.xinitrc
index 5859886..a2d9bc6 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,11 +1,13 @@
#!/bin/sh
. ~/.profile
-systemctl --user import-environment DISPLAY
+# make current environment available to systemd user units
+systemctl --user import-environment $(export | cut -d= -f1)
+
xrdb -override "$XDG_CONFIG_HOME/X11/base"
# https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start
dbus-update-activation-environment --systemd DISPLAY
-i3
+exec i3