Skip to content

Instantly share code, notes, and snippets.

View m-graf's full-sized avatar
☎️

Graf m-graf

☎️
View GitHub Profile
# Setup defaults START
# Hide the dock very quickly, hide and deploy immediately
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
defaults write com.apple.dock autohide-delay -float 0; killall Dock
# Not sure
defaults write com.apple.Terminal FocusFollowsMouse -string YES
# Disable font smooting
@m-graf
m-graf / .convert-heic-to-jpg.sh
Last active October 22, 2021 18:09
AppleScript to convert + compress HEIC images to JPG. Can be compiled into an Application with Apple Script.
#!/bin/bash
# Converts all .HEIC files in directory ($1) to .jpg
# Outputs converted images to $2
if ! command -v /usr/local/bin/magick &> /dev/null
then
echo "magick could not be found, you need to install it."
exit
fi