aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Makefile')
-rw-r--r--xorg-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/Makefile b/xorg-server/Makefile
index 126b611..81bc9d8 100644
--- a/xorg-server/Makefile
+++ b/xorg-server/Makefile
@@ -9,8 +9,12 @@ install:
ln -sf -- ~/.dotfiles/.secrets/backgrounds ~/.config/backgrounds; \
fi
mkdir -p -- ../.secrets/backgrounds
+ if test ! -L ~/.config/background && test ! -e ~/.config/background; then \
+ ln -s backgrounds/default ~/.config/background; \
+ fi
uninstall:
-unlink -- ~/.config/backgrounds
+ -unlink -- ~/.config/background
.PHONY: install uninstall