diff options
author | Mattias Andrée <maandree@kth.se> | 2021-07-25 14:57:57 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-07-25 14:57:57 +0200 |
commit | c68f44677240cd4d777993494e2e9a7327c08e63 (patch) | |
tree | 1eb2ebf97bb085fc5ab122f6ccad02fb3a0a9f8b /dbus | |
parent | Fix previous commit (diff) | |
download | dotfiles-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/Makefile | 15 | ||||
-rw-r--r-- | dbus/xinit | 4 |
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 |