blob: fe200a8e48cce5258f1857857ce3709a95387997 (
plain) (
tree)
|
|
.POSIX:
XINITRC_ORDER = 20
install:
mkdir -p -- ~/.config/X11/xinit/xinitrc.d
test ! -e ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper || \
test -L ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper
ln -sf -- ~/.dotfiles/xwallpaper/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper
uninstall:
+! ../check-installed xwallpaper
-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper
-rmdir -- ~/.config/X11/xinit/xinitrc.d
-rmdir -- ~/.config/X11/xinit
-rmdir -- ~/.config/X11
|