feat: install script re-org
This commit is contained in:
16
install.d/71-rectangle.sh
Executable file
16
install.d/71-rectangle.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Description:
|
||||
# (macOS only) Install Rectangle.
|
||||
#
|
||||
|
||||
# macOS only
|
||||
[[ "$DOTS_OS" != "macos" ]] && { log_skip "Not macOS"; return 0; }
|
||||
|
||||
if ! echo "$BREW_CASKS" | grep -q "^rectangle$"; then
|
||||
brew install --cask rectangle
|
||||
else
|
||||
echo "Rectangle is already installed."
|
||||
fi
|
||||
log_pass "Rectangle installed"
|
||||
Reference in New Issue
Block a user