From c68f44677240cd4d777993494e2e9a7327c08e63 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jul 2021 14:57:57 +0200 Subject: Add xinitrc script for dbus and add new-c-proj command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dbus/Makefile | 15 +++++++++++++++ dbus/xinit | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 dbus/Makefile create mode 100644 dbus/xinit (limited to 'dbus') 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 -- cgit v1.2.3-70-g09d2