|
1 | 1 | # 20250102 OSX dark mode shortcut |
2 | 2 |
|
| 3 | +> Update 20250924: As of the release of macOS Tahoe, you can also use the new "Shortcuts" app to achieve this! |
| 4 | +> These shortcuts can't be assigned to keyboard shortcuts yet, but you can run them via Spotlight. |
| 5 | +
|
| 6 | +- [20250102 OSX dark mode shortcut](#20250102-osx-dark-mode-shortcut) |
| 7 | + - [Automator](#automator) |
| 8 | + - [1. Launch Automator](#1-launch-automator) |
| 9 | + - [2. Create "Quick Action"](#2-create-quick-action) |
| 10 | + - [3. Search for "appearance"](#3-search-for-appearance) |
| 11 | + - [4. Drag "Change System Appearance" to the workflow](#4-drag-change-system-appearance-to-the-workflow) |
| 12 | + - [5. Save the Quick Action](#5-save-the-quick-action) |
| 13 | + - [6. Assign a Keyboard Shortcut](#6-assign-a-keyboard-shortcut) |
| 14 | + - [Shortcuts](#shortcuts) |
| 15 | + - [1. Launch Shortcuts](#1-launch-shortcuts) |
| 16 | + - [2. Add a new shortcut](#2-add-a-new-shortcut) |
| 17 | + - [3. Create the shortcut logic](#3-create-the-shortcut-logic) |
| 18 | + - [4. Use via Spotlight](#4-use-via-spotlight) |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## Automator |
| 23 | + |
3 | 24 | *Using the power of OSX Automator!* |
4 | 25 |
|
5 | 26 | <img src="https://github.com/user-attachments/assets/3c1aaaf4-6159-4573-81dd-40022f571f29" style="width: 20%"> |
|
8 | 29 |
|
9 | 30 | *Documentation: https://support.apple.com/en-au/guide/automator/welcome/mac* |
10 | 31 |
|
11 | | -- [20250102 OSX dark mode shortcut](#20250102-osx-dark-mode-shortcut) |
12 | | - - [1. Launch Automator](#1-launch-automator) |
13 | | - - [2. Create "Quick Action"](#2-create-quick-action) |
14 | | - - [3. Search for "appearance"](#3-search-for-appearance) |
15 | | - - [4. Drag "Change System Appearance" to the workflow](#4-drag-change-system-appearance-to-the-workflow) |
16 | | - - [5. Save the Quick Action](#5-save-the-quick-action) |
17 | | - - [6. Assign a Keyboard Shortcut](#6-assign-a-keyboard-shortcut) |
18 | 32 |
|
19 | 33 |
|
20 | 34 | --- |
21 | 35 |
|
22 | | -## 1. Launch Automator |
| 36 | +### 1. Launch Automator |
23 | 37 |
|
24 | 38 |  |
25 | 39 |
|
26 | | -## 2. Create "Quick Action" |
| 40 | +### 2. Create "Quick Action" |
27 | 41 |
|
28 | 42 |  |
29 | 43 |
|
30 | | -## 3. Search for "appearance" |
| 44 | +### 3. Search for "appearance" |
31 | 45 |
|
32 | 46 |  |
33 | 47 |
|
34 | | -## 4. Drag "Change System Appearance" to the workflow |
| 48 | +### 4. Drag "Change System Appearance" to the workflow |
35 | 49 |
|
36 | 50 |  |
37 | 51 |
|
38 | 52 | If you like, you can click "Run" in the top-right corner to test the action. |
39 | 53 |
|
40 | | -## 5. Save the Quick Action |
| 54 | +### 5. Save the Quick Action |
41 | 55 |
|
42 | 56 |  |
43 | 57 |
|
44 | | -## 6. Assign a Keyboard Shortcut |
| 58 | +### 6. Assign a Keyboard Shortcut |
45 | 59 |
|
46 | 60 | Open `System Preferences` > `Keyboard` > `Shortcuts` > `Services` > `General` and assign a keyboard shortcut to the Quick Action. |
47 | 61 |
|
48 | 62 |  |
49 | 63 |
|
50 | 64 | Done! Enjoy your new shortcut 🤓🙈 |
| 65 | + |
| 66 | +--- |
| 67 | + |
| 68 | +## Shortcuts |
| 69 | + |
| 70 | +### 1. Launch Shortcuts |
| 71 | + |
| 72 | +### 2. Add a new shortcut |
| 73 | + |
| 74 | +### 3. Create the shortcut logic |
| 75 | + |
| 76 | +> Now you can just close the window to save your shortcut! |
| 77 | +
|
| 78 | +### 4. Use via Spotlight |
| 79 | + |
| 80 | +Despite the name, it doesn't seem like it's currently possible to assign a keyboard shortcut to a shortcut created in the Shortcuts app. |
| 81 | + |
| 82 | +Instead, you can run it via Spotlight (Cmd + Space) by typing the name of the shortcut. This can be made easier by "adding quick keys" to the Spotlight search, in this example I've chosen the letter `"t"` |
0 commit comments