aboutsummaryrefslogtreecommitdiffstats
path: root/dbus/Makefile
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/Makefile
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 '')
-rw-r--r--dbus/Makefile15
1 files changed, 15 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