aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-02 23:38:47 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-02 23:38:47 +0100
commit836e2f723b9856fa6ca9eee1494fe6cdb915df2b (patch)
treec6e4742ae4d746dade29d4fece328458fdbfcea1 /.xinitrc
parent163412cb21b54fe481985fa21ed8527a9860496f (diff)
more cleanup
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