# Mac hacks

### Take screenshots with shadows

Press `⌘` + `shift` + `4` then press `Space`. The selector will then change into a camera icon, and you can take a screenshot of the selected window with a shadow. Screenshot gets stored on Desktop by default.

*(*[*Source*](https://apple.stackexchange.com/questions/14769/how-does-one-make-screen-captures-with-a-shadow)*)*

### Add custom website search to Firefox

#### To save

1. Go to the website (say Stackoverflow)
2. Right click on the SEARCH field, select `Add A Keyword For This Search`

   ![](https://3456005286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfndpwJyFfJmJGHgqxA%2Fuploads%2Fod3XKrWHUoC9hYWmPFZG%2Fimage.png?alt=media\&token=abbd2724-b250-4824-a2ef-de09edea092d)
3. Save the bookmark with a custom keyword&#x20;

   ![](https://3456005286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfndpwJyFfJmJGHgqxA%2Fuploads%2Fq7LBvCu5Saa6B3ngHyhm%2Fimage.png?alt=media\&token=f851a6c1-1f54-44b9-adfc-9204dc759931)

#### **To use**

1. In the address bar, just type the customer keyword followed by a space followed by the search query: `<keyword><space><search query>`\
   ![](https://3456005286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfndpwJyFfJmJGHgqxA%2Fuploads%2FggTnkoRQQ0y8ZvjJr62x%2Fimage.png?alt=media\&token=abd5c2eb-eb71-4786-957e-2592c9c011a2)

### Reduce file size - good quality filter in Preview

<https://apple.stackexchange.com/questions/297417/how-to-decrease-pdf-size-without-losing-quality>
