mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:46:40 +00:00
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:
10
install.sh
10
install.sh
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user