Skip to content

Commit

Permalink
feat(tools): replace hiddenbar for ice
Browse files Browse the repository at this point in the history
  • Loading branch information
trystan2k committed Jul 3, 2024
1 parent 147b145 commit 5e74d57
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/macos/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cask "android-platform-tools"
cask "appcleaner"
cask "deskpad"
cask "hot"
cask "hiddenbar"
cask "jordanbaird-ice"
cask "lulu"
cask "notion"
cask "overkill"
Expand Down
65 changes: 65 additions & 0 deletions upgrades/from-13.x-to-13-4-0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/usr/bin/env bash

# Export dotfiles folder
DOTFILES_FOLDER="$(pwd | grep -o '.*dotfiles')"

#shellcheck source=/dev/null
source "$DOTFILES_FOLDER"/symlinks/.exports

# Load functions
#shellcheck source=/dev/null
source "$DOTFILES_FOLDER"/lib/functions

_remove() {
# ---------------------------------------------
# Uninstall not needed anymore
# ---------------------------------------------

info "Remove step"
brew uninstall --ignore-dependencies node

info "Removing Hiddeb Bar"
brew uninstall hiddenbar
}

_add() {
# ---------------------------------------------
# Install new tools
# ---------------------------------------------

info "Add step"

info "Install Ice"
brew install jordanbaird-ice
}

_configure() {
# ---------------------------------------------
# Install new tools
# ---------------------------------------------

info "Configure step"

info "Configure new Symlinks"
. "$DOTFILES_FOLDER"/scripts/symlinks.sh
}

_cleanup () {
# ---------------------------------------------
# Cleanup and finish
# ---------------------------------------------

info "Cleanup step"

#shellcheck source=/dev/null
. "$DOTFILES_FOLDER"/macos/cleanup.sh
}

execute() {
_remove
_add
_configure
_cleanup
}

execute 2>&1 | tee -a "$DOTFILE_LOG_FILE"

0 comments on commit 5e74d57

Please sign in to comment.