(Minor): Updated Changelog

This commit is contained in:
2026-07-18 21:19:26 +05:30
parent 12dfb32f71
commit e51720da14
2 changed files with 26 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ RST := \033[0m
## ─── targets ────────────────────────────────────────────────
.PHONY: all deps build install uninstall clean test lint fmt vet \
run-preview release help
run-preview release enable update help
deps: ## install system dependencies
@printf " $(BLUE)%-10s$(RST) checking dependencies...\n" "DEPS"
@@ -112,6 +112,29 @@ release: clean ## build with version info
@printf "\n"
@$(MAKE) build
enable: ## disable other DM + enable latchd
@printf " $(YELLOW)%-10s$(RST) switching to latchd...\n" "ENABLE"
@if systemctl is-active display-manager.service >/dev/null 2>&1; then \
printf " $(DIM)%-10s$(RST) stopping current display manager\n" ""; \
sudo systemctl stop display-manager.service; \
fi
@if [ -L /etc/systemd/system/display-manager.service ] \
&& ! readlink /etc/systemd/system/display-manager.service | grep -q $(BINARY); then \
printf " $(DIM)%-10s$(RST) disabling aliased display manager\n" ""; \
sudo systemctl disable display-manager.service; \
fi
@sudo systemctl enable $(BINARY).service
@printf " $(GREEN)%-10s$(RST) latchd enabled — reboot or run 'sudo systemctl start latchd'\n" "ENABLE"
update: ## uninstall → git pull → rebuild → reinstall
@printf " $(YELLOW)%-10s$(RST) removing previous install...\n" "UPDATE"
@sudo $(MAKE) uninstall
@printf " $(CYAN)%-10s$(RST) pulling latest...\n" "UPDATE"
@git pull
@printf " $(BLUE)%-10s$(RST) rebuilding...\n" "UPDATE"
@sudo $(MAKE) install
@printf " $(GREEN)%-10s$(RST) updated — run 'sudo make enable' to switch DMs\n" "UPDATE"
help: ## print this help
@printf " $(BOLD)latchd$(RST) — tui display manager\n"
@printf " $(DIM)version $(VERSION) commit $(COMMIT)$(RST)\n"