Makefile: fix image crop for certain geometries
This commit is contained in:
parent
0bda4e7844
commit
d7e5eaa9f5
6
Makefile
6
Makefile
@ -64,10 +64,14 @@ all: wallpapers
|
|||||||
|
|
||||||
wallpapers:
|
wallpapers:
|
||||||
@echo "Converting background images..."
|
@echo "Converting background images..."
|
||||||
@for s in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1920x1200; do \
|
@for s in 1280x800 1440x900 1920x1200; do \
|
||||||
mkdir -p ksplash-theme-openmamba/$${s}; \
|
mkdir -p ksplash-theme-openmamba/$${s}; \
|
||||||
convert openmamba_Circles-ksplash.svg +repage -gravity NorthWest -resize $${s/x*} -crop $${s}+0+0 +repage ksplash-theme-openmamba/$${s}/background.png; \
|
convert openmamba_Circles-ksplash.svg +repage -gravity NorthWest -resize $${s/x*} -crop $${s}+0+0 +repage ksplash-theme-openmamba/$${s}/background.png; \
|
||||||
done
|
done
|
||||||
|
@for s in 1024x768 1280x1024 1600x1200; do \
|
||||||
|
mkdir -p ksplash-theme-openmamba/$${s}; \
|
||||||
|
convert openmamba_Circles-ksplash.svg +repage -gravity NorthWest -resize x$${s/*x} -crop $${s}+0+0 +repage ksplash-theme-openmamba/$${s}/background.png; \
|
||||||
|
done
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(INSTALL_DIR) $(DESTDIR)$(kdedatadir)/apps/ksplash/Themes/openmamba
|
$(INSTALL_DIR) $(DESTDIR)$(kdedatadir)/apps/ksplash/Themes/openmamba
|
||||||
|
Loading…
Reference in New Issue
Block a user