aboutsummaryrefslogblamecommitdiffstats
path: root/xorg-xsetroot/Makefile
blob: a3b57d94ddd160f271c9e070de0853ea206ff353 (plain) (tree)
1
2
3
4
5
6
7
8

       
                  


                                                 

                                                                                    


                                                                                                              


                                               



                                                                               
.POSIX:

XINITRC_ORDER = 85

install:
	mkdir -p -- ~/.config/X11/xinit/xinitrc.d
	test ! -e ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xsetroot || \
		test -L ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xsetroot
	ln -sf -- ~/.dotfiles/xorg-xsetroot/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xsetroot

uninstall:
	+! ../check-installed xorg-xsetroot
	+! ../check-installed xsetroot
	+! ../check-installed x11-xserver-utils
	-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xsetroot
	-rmdir -- ~/.config/X11/xinit/xinitrc.d
	-rmdir -- ~/.config/X11/xinit
	-rmdir -- ~/.config/X11