Skip to content

Commit 07692c9

Browse files
authored
Add magnification and largesize defaults for Dock
1 parent cffe711 commit 07692c9

File tree

4 files changed

+123
-0
lines changed

4 files changed

+123
-0
lines changed

docs/dock/images/largesize/76.png

65.1 KB
Loading

docs/dock/images/largesize/96.png

76.9 KB
Loading

docs/dock/largesize.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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+
This setting will have no effect unless the following conditions are met:
24+
25+
- [`com.apple.dock magnification`](/dock/magnification.md#set-to-true) must be set to `true`
26+
- The set size must be greater than the value of [`com.apple.dock tilesize`](/dock/tilesize.md)
27+
28+
## Set to `96` (default value)
29+
30+
Magnified Dock icon size of 96 pixels.
31+
32+
```bash
33+
defaults write com.apple.dock "largesize" -int "96" && killall Dock
34+
```
35+
36+
<img
37+
src="./images/largesize/96.png"
38+
alt="Example with value set to 96"
39+
width="740" height="78" style="height: auto"
40+
/>
41+
42+
## Set to `76`
43+
44+
Magnified Dock icon size of 76 pixels.
45+
46+
```bash
47+
defaults write com.apple.dock "largesize" -int "76" && killall Dock
48+
```
49+
50+
<img
51+
src="./images/largesize/76.png"
52+
alt="Example with value set to 76"
53+
width="740" height="62" style="height: auto"
54+
/>
55+
56+
## Read current value
57+
58+
```bash
59+
defaults read com.apple.dock "largesize"
60+
```
61+
62+
## Reset to default value
63+
64+
```bash
65+
defaults delete com.apple.dock "largesize" && killall Dock
66+
```
67+
68+
## Set value from UI
69+
70+
1. <a href="x-apple.systempreferences:com.apple.preference.dock?Dock">Access Dock settings from macOS UI</a>
71+
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+
# Magnification
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)