From 42b633e81000fbce2949ff176463fe29fd2c88db Mon Sep 17 00:00:00 2001 From: Andrea Rogers Date: Thu, 9 Jan 2025 10:54:25 -0600 Subject: [PATCH] Makefile: Alacritty phony, profie->bash_profile In systems with greetd or Sxmo naming my profile '.profile' conflicts with existing environment config filenames, often badly enough to arrest the entire GUI bringup sequence. To circumvent this, I'm naming my per-user shell profile '.bash_profile' instead. This compromise should work on all tested environments since I only support the Bash shell for my dotties (patches welcome for others). --- GNUmakefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 54d0004..bb7b473 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -DEFAULT_TARGETS += $(HOME)/.profile \ +DEFAULT_TARGETS += $(HOME)/.bash_profile \ $(HOME)/.vim/bundle/Vundle.vim $(HOME)/.vimrc \ $(HOME)/.inputrc \ $(HOME)/.config/alacritty/alacritty.toml \ @@ -51,7 +51,7 @@ $(HOME)/.profile.d/%: .profile.d/% $(HOME)/.profile.d profileds: $(PROFILEDS) -$(HOME)/.profile: $(PROFILE) +$(HOME)/.bash_profile: $(PROFILE) cp $< $@ $(HOME)/.profile.%: .profile.% @@ -77,6 +77,8 @@ $(HOME)/.bashrc.%: .bashrc.% $(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml $(INSTALL) -D -m 644 $< $@ +alacritty: $(HOME)/.config/alacritty/alacritty.toml + ### SWAY ####################################################################### $(HOME)/.sway/config: .sway/config @@ -126,7 +128,7 @@ x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xi ### "PHONY" TARGETS ############################################################ -.PHONY: aliases profileds README x-crap sway i3status restart-pw pipewire +.PHONY: aliases profileds README x-crap sway i3status restart-pw pipewire alacritty ### README #####################################################################