<commit_before>include ../makefile-vars.mk

GIT_URL=https://github.com/Lokaltog/powerline.git
GIT_PATH=$(CURDIR)/powerline-git

.PHONY: install uninstall

install: $(HOME)/.powerline $(HOME)/.config/powerline
	
$(HOME)/.powerline: $(BACKUP_DIR)/.powerline clone
	test -h $@ || ln -s $(GIT_PATH) $@

$(HOME)/.config/powerline: $(BACKUP_DIR)/.config/powerline
	mkdir -p $@
	cp -R $(GIT_PATH)/powerline/config_files/* $@
	cp -R config/* $@
	cp $(GIT_PATH)/font/PowerlineSymbols.otf $(HOME)/.fonts/
	cp $(GIT_PATH)/font/10-powerline-symbols.conf $(HOME)/.config/fontconfig/conf.d/
	fc-cache -vf $(HOME)/.fonts

uninstall:
	echo "TODO: uninstalling..."

include ../makefile-utils.mk<commit_msg>Powerline install creates config dirs<commit_after>include ../makefile-vars.mk

GIT_URL=https://github.com/Lokaltog/powerline.git
GIT_PATH=$(CURDIR)/powerline-git

.PHONY: install uninstall

install: $(HOME)/.powerline $(HOME)/.config/powerline
	
$(HOME)/.powerline: $(BACKUP_DIR)/.powerline clone
	test -h $@ || ln -s $(GIT_PATH) $@

$(HOME)/.config/powerline: $(BACKUP_DIR)/.config/powerline
	mkdir -p $@
	cp -R $(GIT_PATH)/powerline/config_files/* $@
	cp -R config/* $@
	mkdir -p $(HOME)/.fonts/
	cp $(GIT_PATH)/font/PowerlineSymbols.otf $(HOME)/.fonts/
	mkdir -p $(HOME)/.config/fontconfig/conf.d/
	cp $(GIT_PATH)/font/10-powerline-symbols.conf $(HOME)/.config/fontconfig/conf.d/
	fc-cache -vf $(HOME)/.fonts

uninstall:
	echo "TODO: uninstalling..."

include ../makefile-utils.mk
{'fraction_non_alphanumeric': 0.1975560081466395, 'fraction_numerical': 0.0027155465037338763, 'mean_word_length': 4.153846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2532452', 'n_tokens_mistral': 595, 'n_tokens_neox': 565, 'n_words': 95}