feat(xbar): switch to xbar (BitBar replacement) and re-write my scripts

This is a complete rewrite of my old scripts, and a wholesale
replacement of BitBar's "brew-services" script with a more feature
packed variant.
This commit is contained in:
2021-10-31 22:39:25 +00:00
parent deaa9aebc8
commit 0f71533a8c
8 changed files with 742 additions and 277 deletions

View File

@@ -85,6 +85,13 @@ install_launch_agents() {
fi
}
install_xbar_scripts() {
mkdir -p "$HOME/Library/Application Support/xbar/plugins"
for file in $ROOT_PATH/xbar/*; do
symlink "$file" "$HOME/Library/Application Support/xbar/plugins/$(basename "$file")"
done
}
install_terminfo() {
for file in $ROOT_PATH/terminfo/*.terminfo; do
log ok "tic -x" "$file"
@@ -254,6 +261,9 @@ case "$1" in
launch-agents | launch_agents | agents)
install_launch_agents
;;
xbar_scripts | xbar-scripts | xbar)
install_xbar_scripts
;;
terminfo)
install_terminfo
;;