Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Add commands to change screenshot location, type and shadow #14

Merged
merged 5 commits into from
Oct 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [
- [QuickLook](#quicklook)
- [Root User](#root-user)
- [Safe Mode Boot](#safe-mode-boot)
- [Screenshots](#screenshots)
- [Software Installation](#software-installation)
- [Spotlight](#spotlight)
- [Terminal](#terminal)
Expand Down Expand Up @@ -942,6 +943,27 @@ sudo nvram boot-args="-x"
sudo nvram boot-args=""
```

### Screenshots

#### Save Screenshots to Given Location
Sets location to `~/Desktop`.
```bash
defaults write com.apple.screencapture location ~/Desktop && \
killall SystemUIServer
```

#### Save Screenshots in Given Format
Sets format to `png`. Other options are `bmp`, `gif`, `jpg`, `jpeg`, `pdf`, `tiff`.
```bash
defaults write com.apple.screencapture type -string "png"
```

#### Disable Shadow in Screenshots
```bash
defaults write com.apple.screencapture disable-shadow -bool true && \
killall SystemUIServer
```

### Software Installation

#### Install PKG
Expand Down