> For the complete documentation index, see [llms.txt](https://docs.daitya.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.daitya.info/macos/mac-hacks.md).

# 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`

   ![](/files/LIFYWyaVtk2cd6vUsNQY)
3. Save the bookmark with a custom keyword&#x20;

   ![](/files/MHiw1hR7P5A9kBbi5x14)

#### **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>`\
   ![](/files/eGuti0ltviiIg6rQc1Mz)

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

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