feat(doc): Makefile for making screenshots

This commit is contained in:
Johann Dreo 2023-11-15 06:58:01 +01:00
commit 4c506c9365
24 changed files with 25 additions and 27 deletions

15
Makefile Normal file
View file

@ -0,0 +1,15 @@
LP ?= /home/nojhan/code/liquidprompt
HEIGHT := 450
THEME := dotmatrix dotmatrix.theme
ALL := $(addprefix screenshots/,variant-chevron.png variant-round.png variant-slant.png variant-text.png variant-chevron_colors-cyan-magenta.png variant-chevron_colors-green-red.png variant-chevron_colors-high-contrast.png)
.PHONY: all
all: Makefile $(ALL)
clean:
rm -f $(ALL)
%.png:
$(LP)/tools/theme-screenshot.sh $(HEIGHT) $(THEME) $(addprefix presets/,$(addsuffix .conf, $(subst _, ,$(basename $(notdir $@))))) > $@