mirror of
https://github.com/turtlebasket/env.git
synced 2026-03-05 03:54:25 -08:00
update
This commit is contained in:
21
setup/macos/NvimLauncherITerm.applescript
Normal file
21
setup/macos/NvimLauncherITerm.applescript
Normal file
@@ -0,0 +1,21 @@
|
||||
# From: https://gregrs-uk.github.io/2018-11-01/open-files-neovim-iterm2-macos-finder/
|
||||
# Instructions:
|
||||
# - Create new application in Automator
|
||||
# - Add "run applescript" step
|
||||
# - Paste in the below script
|
||||
# From: https://gregrs-uk.github.io/2018-11-01/open-files-neovim-iterm2-macos-finder/
|
||||
# Instructions:
|
||||
# - Create new application in Automator
|
||||
# - Add "run applescript" step
|
||||
# - Paste in the below script
|
||||
|
||||
on run {input, parameters}
|
||||
set myPath to POSIX path of input
|
||||
set cmd to "/opt/homebrew/bin/nvim -p " & quote & myPath & quote
|
||||
tell application "iTerm"
|
||||
activate
|
||||
tell current window
|
||||
create tab with default profile command cmd
|
||||
end tell
|
||||
end tell
|
||||
end run
|
||||
9
setup/macos/NvimLauncherKitty.applescript
Normal file
9
setup/macos/NvimLauncherKitty.applescript
Normal file
@@ -0,0 +1,9 @@
|
||||
# Based on the iTerm script
|
||||
|
||||
on run {input, parameters}
|
||||
set myPath to POSIX path of input
|
||||
set cmd to "/opt/homebrew/bin/nvim -p " & quote & myPath & quote
|
||||
tell application "System Events" to tell process "kitty"
|
||||
click menu item "New Tab" of menu "Shell" of menu bar 1
|
||||
end tell
|
||||
end run
|
||||
5
setup/macos/brew_get.sh
Normal file
5
setup/macos/brew_get.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
brew install bat cmake gitkraken go htop lsd neofetch node npm openjdk@11 macvim yarn yt-dlp
|
||||
brew install --cask --no-quarantine middleclick
|
||||
brew install --cask hammerspoon scroll-reverser rectangle alt-tab
|
||||
4
setup/macos/disable_app_store_notifs.sh
Normal file
4
setup/macos/disable_app_store_notifs.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
# a treatment to the downright horrendous fanboy cope session i have just witnessed on the apple support forums
|
||||
|
||||
defaults write com.apple.appstored LastUpdateNotification -date "2029-12-12 12:00:00 +0000"
|
||||
|
||||
10
setup/macos/disable_mouse_accel.sh
Normal file
10
setup/macos/disable_mouse_accel.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Disable mouse movement acceleration
|
||||
defaults write .GlobalPreferences com.apple.mouse.scaling -1
|
||||
|
||||
# Disable scrolling acceleration
|
||||
defaults write .GlobalPreferences com.apple.scrollwheel.scaling -1
|
||||
|
||||
# Remind to logout
|
||||
echo To fully apply changes, log out and back in again.
|
||||
Reference in New Issue
Block a user