aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 08:52:00 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 08:52:00 +0200
commit4a5c7e9652408ca9edffc5f9fae34ad8c87c33b1 (patch)
treea2c62ace0b8b44c9d2df62d051b7e05828569569
parentAdd location (diff)
downloaddotfiles-4a5c7e9652408ca9edffc5f9fae34ad8c87c33b1.tar.gz
dotfiles-4a5c7e9652408ca9edffc5f9fae34ad8c87c33b1.tar.bz2
dotfiles-4a5c7e9652408ca9edffc5f9fae34ad8c87c33b1.tar.xz
Add ~/.config/background
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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