From 80f4bf91fa7f308245b296b1b3b8a3080c8a39e6 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Sun, 8 Dec 2024 15:32:36 -0800 Subject: [PATCH] [mac.Makefile] Add `make mac-dock-setup-pythagoras-extras`. --- Makefile | 3 ++- setup/mac.Makefile | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16bca5e..689853a 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,8 @@ germain: mac-common .PHONY: pythagoras germain: \ mac-common \ - hushlogin # for SSH + mac-dock-setup-pythagoras-extras \ + hushlogin # for SSH \ .PHONY: linux linux: \ diff --git a/setup/mac.Makefile b/setup/mac.Makefile index 7b153c5..278adc4 100644 --- a/setup/mac.Makefile +++ b/setup/mac.Makefile @@ -173,6 +173,21 @@ mac-dock-setup: killall Dock + +.PHONY: mac-dock-setup-pythagoras-extras +mac-dock-setup-pythagoras-extras: + + ./setup/scripts/mac-dock-add-app.fish "/Applications/Adobe Lightroom.app" + ./setup/scripts/mac-dock-add-app.fish "/Applications/Arq.app" + ./setup/scripts/mac-dock-add-app.fish "/Applications/Syncthing.app" + ./setup/scripts/mac-dock-add-app.fish "/Applications/Dropbox.app" + ./setup/scripts/mac-dock-add-app.fish "/Applications/Google Drive.app" + ./setup/scripts/mac-dock-add-app.fish "/Applications/OneDrive.app" + + defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' + + killall Dock + # Misc .PHONY: prefer-wired-over-wireless-for-SMB