aboutsummaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-07-25 14:57:57 +0200
committerMattias Andrée <maandree@kth.se>2021-07-25 14:57:57 +0200
commitc68f44677240cd4d777993494e2e9a7327c08e63 (patch)
tree1eb2ebf97bb085fc5ab122f6ccad02fb3a0a9f8b /dbus
parentFix previous commit (diff)
downloaddotfiles-c68f44677240cd4d777993494e2e9a7327c08e63.tar.gz
dotfiles-c68f44677240cd4d777993494e2e9a7327c08e63.tar.bz2
dotfiles-c68f44677240cd4d777993494e2e9a7327c08e63.tar.xz
Add xinitrc script for dbus and add new-c-proj command
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dbus')
-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