Skip to content

Commit 052606e

Browse files
authored
Add magnification and largesize defaults for Dock
1 parent cffe711 commit 052606e

File tree

3 files changed

+106
-0
lines changed

3 files changed

+106
-0
lines changed

docs/dock/images/largesize/96.png

76.9 KB
Loading

docs/dock/largesize.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Magnification size | Dock
3+
description: Set the icon size of magnified Dock items in pixels.
4+
head:
5+
- - meta
6+
- property: 'og:title'
7+
content: macOS defaults > Dock > Magnification size
8+
- - meta
9+
- property: 'og:description'
10+
content: Set the icon size of magnified Dock items in pixels.
11+
---
12+
13+
# Magnification size
14+
15+
Set the icon size of magnified Dock items in pixels.
16+
17+
- **Tested on macOS**:
18+
- Seqoia
19+
- **Parameter type**: int
20+
21+
## Requirements
22+
23+
- [`com.apple.dock magnification`](/dock/magnification.md#set-to-true) must be set to `true`
24+
25+
## Set to `96`
26+
27+
Magnified Dock icon size of 96 pixels.
28+
29+
```bash
30+
defaults write com.apple.dock "largesize" -int "96" && killall Dock
31+
```
32+
33+
<img
34+
src="./images/largesize/96.png"
35+
alt="Example with value set to 96"
36+
width="740" height="78" style="height: auto"
37+
/>
38+
39+
## Read current value
40+
41+
```bash
42+
defaults read com.apple.dock "largesize"
43+
```
44+
45+
## Reset to default value
46+
47+
```bash
48+
defaults delete com.apple.dock "largesize" && killall Dock
49+
```
50+
51+
## Set value from UI
52+
53+
1. <a href="x-apple.systempreferences:com.apple.preference.dock?Dock">Access Dock settings from macOS UI</a>
54+
2. Slide "Magnification" range value

docs/dock/magnification.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Magnification | Dock
3+
description: Magnify items in the Dock.
4+
head:
5+
- - meta
6+
- property: 'og:title'
7+
content: macOS defaults > Dock > Magnification
8+
- - meta
9+
- property: 'og:description'
10+
content: Magnify items in the Dock.
11+
---
12+
13+
# Autohide
14+
15+
Magnify icons in the Dock.
16+
17+
- **Tested on macOS**:
18+
- Seqoia
19+
- **Parameter type**: bool
20+
21+
## Set to `false` (default value)
22+
23+
Do not magnify items in the Dock
24+
25+
```bash
26+
defaults write com.apple.dock "magnification" -bool "false" && killall Dock
27+
```
28+
29+
## Set to `true`
30+
31+
Magnify items in the Dock when hovered over
32+
33+
```bash
34+
defaults write com.apple.dock "magnification" -bool "true" && killall Dock
35+
```
36+
37+
## Read current value
38+
39+
```bash
40+
defaults read com.apple.dock "magnification"
41+
```
42+
43+
## Reset to default value
44+
45+
```bash
46+
defaults delete com.apple.dock "magnification" && killall Dock
47+
```
48+
49+
## Set value from UI
50+
51+
1. <a href="x-apple.systempreferences:com.apple.preference.dock?Dock">Access Dock settings from macOS UI</a>
52+
2. Slide "Magnification" range value to "Off"

0 commit comments

Comments
 (0)