From 60fee1638a52c85f06aadf67dff35820ca02ea1b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Jun 2021 15:27:10 +0200 Subject: Add startx wrapper that wrapps startx with orphan-reaper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xorg-xinit/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xorg-xinit/Makefile') diff --git a/xorg-xinit/Makefile b/xorg-xinit/Makefile index 0d017d6..6c314bd 100644 --- a/xorg-xinit/Makefile +++ b/xorg-xinit/Makefile @@ -24,6 +24,10 @@ install: mkdir -p -- ~/.config/X11/xinit/xinitrc.d test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xinit ln -sf -- ~/.dotfiles/xorg-xinit/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xinit + if test -x /usr/bin/orphan-reaper; then \ + mkdir -p -- ~/.local/bin && \ + ln -sf -- ~/.dotfiles/xorg-xinit/startx ~/.local/bin/; \ + fi uninstall: -unlink -- ~/.config/bash/aliases.d/xorg-xinit @@ -33,5 +37,6 @@ uninstall: -rmdir -- ~/.config/X11/xinit/xinitrc.d -rmdir -- ~/.config/X11/xinit -rmdir -- ~/.config/X11 + -unlink -- ~/.local/bin/startx .PHONY: install uninstall -- cgit v1.2.3-70-g09d2