Backgrounds: Automate the configuration of the default backgrounds

This commit is contained in:
Daniel Ruiz de Alegría 2020-10-27 17:21:01 +01:00
parent 15462922e7
commit 69e9bc929d
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,10 @@
SUBDIRS=emblems kali-logos SUBDIRS=emblems kali-logos
BACKGROUND=kali-geometric
LOGIN_BACKGROUND=kali-light-strips
build: build:
bin/update-kali-16x9 bin/update-kali-16x9
bin/update-default-backgrounds $(BACKGROUND) $(LOGIN_BACKGROUND)
$(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(SUBDIR) build &&) true $(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(SUBDIR) build &&) true
clean: clean:

View File

@ -6,8 +6,7 @@ LOGIN_BACKGROUND=$2
# xfce background # xfce background
if [ -e share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png ]; then if [ -e share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png ]; then
rm -f share/backgrounds/kali-16x9/default mv -v share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png \
mv share/backgrounds/kali-16x9/$DESKTOP_BACKGROUND.png \
share/backgrounds/kali-16x9/default share/backgrounds/kali-16x9/default
fi fi

View File

@ -0,0 +1 @@
../kali/kali-mesh-16x9.png