diff --git a/ssh/makefile b/ssh/makefile index 6a46479..0face91 100644 --- a/ssh/makefile +++ b/ssh/makefile @@ -25,5 +25,5 @@ ifeq ($(shell [ ! -e $(JPATRIC_KEY) ] $(return_val_truthy) ), true) ssh-keygen -t ed25519 -C "`hostname`: `date`" -f $(JPATRICK_KEY) -N "" \ ; report info "jpatrick.io key created" else - $(report) info "Key for jpatrick.io already created" + $(report) warn "Key for jpatrick.io already created" endif diff --git a/sway/makefile b/sway/makefile index d3cf0e5..702ef16 100644 --- a/sway/makefile +++ b/sway/makefile @@ -9,12 +9,16 @@ init: ifeq ($(call cmd_exist,sway), true) $(info => Setting up sway) $(mk_link) $(SRC) $(TARGET) +else + $(report) warn "Sway not installed. Skipping." endif update: ifeq ($(call cmd_exist,swaymsg), true) $(info => Reloading sway) swaymsg reload ; $(report) "sway reload" +else + $(report) warn "swaymsg not installed. Skipping." endif remove: diff --git a/tmux/makefile b/tmux/makefile index c176759..d0d9997 100644 --- a/tmux/makefile +++ b/tmux/makefile @@ -11,7 +11,7 @@ ifeq ($(call cmd_exist,tmux), true) $(info => Setting up tmux) $(mk_link) $(SOURCE) $(TARGET) else - $(report) warn "tmux not installed" + $(report) warn "tmux not installed." endif update: diff --git a/tridactyl/makefile b/tridactyl/makefile index bd98090..763beb4 100644 --- a/tridactyl/makefile +++ b/tridactyl/makefile @@ -10,6 +10,8 @@ init: ifeq ($(shell $(call cmd_exist,firefox) || $(IS_MAC) ; echo $$? ), 0) $(info => Setting up Tridacyl) $(mk_link) $(SRC) $(TARGET) +else + $(report) warn "This doesn't seem to be an env for Tridactyl. Skipping." endif update: diff --git a/waybar/makefile b/waybar/makefile index c108e00..538b311 100644 --- a/waybar/makefile +++ b/waybar/makefile @@ -9,12 +9,16 @@ init: ifeq ($(call cmd_exist,waybar), true) $(info => Setting up waybar) $(mk_link) $(SRC) $(TARGET) +else + $(report) warn "waybar not installed. Skipping." endif update: ifeq ($(call cmd_exist,swaymsg), true) $(info => Reloading sway) swaymsg reload ; $(report) "sway reload" +else + $(report) warn "swaymsg not installed. Skipping." endif remove: