initial commit

This commit is contained in:
2024-06-11 21:08:44 +02:00
commit d8433ffbd8
391 changed files with 37223 additions and 0 deletions

25
.config/i3blocks/Makefile Normal file
View File

@@ -0,0 +1,25 @@
PREFIX = $(HOME)/.local/
_INSTALLDIR = $(DESTDIR)$(PREFIX)/libexec/i3blocks/
_MAKEBLOCKS := $(dir $(wildcard */Makefile))
all: build
build: $(_MAKEBLOCKS)
$(_MAKEBLOCKS):
$(MAKE) -C $@
install: all do-install
installdirs:
install -d $(_INSTALLDIR)
_BLOCKS := $(shell find . -type f -executable -not -path './.*')
do-install: installdirs $(_BLOCKS)
$(_BLOCKS):
install -m755 $@ $(_INSTALLDIR)
uninstall:
rm -f $(foreach block,$(_BLOCKS),$(_INSTALLDIR)$(notdir $(block)))
.PHONY: $(_MAKEBLOCKS) $(_BLOCKS) build do-install all install uninstall