aboutsummaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dbus/Makefile15
-rw-r--r--dbus/xinit4
2 files changed, 19 insertions, 0 deletions
diff --git a/dbus/Makefile b/dbus/Makefile
new file mode 100644
index 0000000..aab1396
--- /dev/null
+++ b/dbus/Makefile
@@ -0,0 +1,15 @@
+.POSIX:
+include ../common.mk
+
+XINITRC_ORDER = 50
+
+install:
+ mkdir -p -- ~/.config/X11/xinit/xinitrc.d
+ test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dbus
+ ln -sf -- ~/.dotfiles/dbus/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dbus
+
+uninstall:
+ -unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dbus
+ -rmdir -- ~/.config/X11/xinit/xinitrc.d
+
+.PHONY: install uninstall
diff --git a/dbus/xinit b/dbus/xinit
new file mode 100644
index 0000000..28bb1d1
--- /dev/null
+++ b/dbus/xinit
@@ -0,0 +1,4 @@
+# -*- shell-script -*-
+
+# Functional alernative to /etc/X11/xinit/xinitrc.d/50-systemd-user.sh, just skips first part
+dbus-update-activation-environment DISPLAY XAUTHORITY