Skip to content

Commit

Permalink
chore(brewfile): Use bclm_loop instead of original one
Browse files Browse the repository at this point in the history
It was broken on macOS update.
  • Loading branch information
5ouma committed Dec 6, 2024
1 parent a0a954f commit 867520d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: 🍎 Install macOS tools via Homebrew
if: ${{ matrix.os == 'macOS-14' }}
run: brew install 5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg zackelia/formulae/bclm
run: brew install 5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg lslqtz/formulae/bclm_loop

- name: ⚙️ Run setup
env:
Expand Down
4 changes: 2 additions & 2 deletions data/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ tap "5ouma/formula"
tap "blacktop/tap"
tap "homebrew/bundle"
tap "homebrew/services"
tap "lslqtz/formulae"
tap "pomdtr/tap"
tap "suzuki-shunsuke/pinact"
tap "zackelia/formulae"
brew "actionlint"
brew "atuin"
brew "bat"
Expand Down Expand Up @@ -56,9 +56,9 @@ brew "5ouma/formula/gh-dash"
brew "5ouma/formula/mksei"
brew "5ouma/formula/mli"
brew "blacktop/tap/lporg"
brew "lslqtz/formulae/bclm_loop"
brew "pomdtr/tap/tweety"
brew "suzuki-shunsuke/pinact/pinact"
brew "zackelia/formulae/bclm"
cask "1password"
cask "1password-cli"
cask "alt-tab"
Expand Down
6 changes: 2 additions & 4 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ EOM
#==================================================[ Apps ]==================================================#

installApps() {
(! isDarwin) && export HOMEBREW_BUNDLE_BREW_SKIP='newrelic-infra-agent 5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg zackelia/formulae/bclm'
(! isDarwin) && export HOMEBREW_BUNDLE_BREW_SKIP='newrelic-infra-agent 5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg lslqtz/formulae/bclm_loop'
(gum run "Satisfying Brewfile's dependencies..." -- brew bundle check --file="$data/Brewfile") && skip
brew update && brew bundle install --no-lock --file="$data/Brewfile"
if (isDarwin); then
Expand Down Expand Up @@ -320,9 +320,7 @@ restoreLoginItems() {
} && run 'restoreLoginItems' '## 📑 Restore Login Items' true

limitBatteryCharge() {
[[ "$(bclm read)" == 80 || $(bclm read) =~ 'driverNotFound' ]] && skip
sudo bclm write 80
sudo bclm persist
sudo bclm_loop persist
} && run 'limitBatteryCharge' '## 🔋 Limit battery charge' true

generateGitHooks() {
Expand Down

0 comments on commit 867520d

Please sign in to comment.