avoid checking the mouse everytime
This commit is contained in:
parent
69d4cca748
commit
22ca6abe94
@ -59,7 +59,6 @@ case "$(uname -s)" in
|
||||
ln -snf ~/.config/Code/User/settings.json "~/Library/Application Support/Code/User/settings.json"
|
||||
ln -snf "~/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/Code/User/snippets" "~/Library/Application Support/Code/User/snippets"
|
||||
ln -snf "~/Library/Mobile Documents/com~apple~CloudDocs/Mackup/.mackup.cfg" ~/.mackup.cfg
|
||||
echo 'Install Docker Desktop for Mac OS X'
|
||||
~/.scripts/install_docker_for_mac.sh
|
||||
;;
|
||||
esac
|
||||
|
@ -2,4 +2,3 @@
|
||||
scriptfile=./connectmouse.applescript
|
||||
parentdir=$(dirname -- "$0")
|
||||
osascript "${parentdir}/${scriptfile}"
|
||||
|
@ -110,3 +110,10 @@ function biggerthan() {
|
||||
function cd() {
|
||||
builtin cd "$@" && ls -latr
|
||||
}
|
||||
function mouse() {
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
sh ~/.scripts/mouse_bluetooth.sh
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
@ -101,10 +101,8 @@ istherenewissues
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
~/.scripts/install_docker_for_mac.sh
|
||||
unlink "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
sh ~/.scripts/resume.sh
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user