dotfiles/os/macos/photos.pref.fish

13 lines
351 B
Fish
Raw Normal View History

2024-02-01 21:27:49 -08:00
#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2024-02-03 12:05:02 -08:00
print_subtitle Photos
2024-02-01 21:27:49 -08:00
execute "defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true" \
"Prevent Photos from opening automatically when devices are plugged in"
2024-02-03 12:05:02 -08:00
killall Photos &>/dev/null