Skip to content

Commit

Permalink
Merge pull request #25 from tmck-code/20250102_osx_dark_mode_shortcut
Browse files Browse the repository at this point in the history
20250102 osx dark mode shortcut
  • Loading branch information
tmck-code authored Jan 1, 2025
2 parents 8591c57 + 31e2f41 commit 202cefa
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ my blog

---

### [20250102 OSX dark mode shortcut](articles/20250102_osx_dark_mode_shortcut/20250102_osx_dark_mode_shortcut.md)

> _How to toggle between Light & Dark Appearance with a keyboard shortcut_
### [20241210 Christmas Tree Lights with Arduino](articles/20241210_christmas_tree_lights_with_arduino/20241210_christmas_tree_lights_with_arduino.md)

> _And a 5V WS8211 LED string 🎄_
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 20250102 OSX dark mode shortcut

*Using the power of OSX Automator!*

<img src="https://github.com/user-attachments/assets/3c1aaaf4-6159-4573-81dd-40022f571f29" style="width: 20%">

> Automator offers many handy actions in OSX. After creating an "automation" in Automator, you can save it as a "Quick Action" and assign a keyboard shortcut to it in System Preferences.
*Documentation: https://support.apple.com/en-au/guide/automator/welcome/mac*

- [20250102 OSX dark mode shortcut](#20250102-osx-dark-mode-shortcut)
- [1. Launch Automator](#1-launch-automator)
- [2. Create "Quick Action"](#2-create-quick-action)
- [3. Search for "appearance"](#3-search-for-appearance)
- [4. Drag "Change System Appearance" to the workflow](#4-drag-change-system-appearance-to-the-workflow)
- [5. Save the Quick Action](#5-save-the-quick-action)
- [6. Assign a Keyboard Shortcut](#6-assign-a-keyboard-shortcut)


---

## 1. Launch Automator

![launch](https://github.com/user-attachments/assets/ffad91c7-2419-4b88-8d63-14b3b0fb7aad)

## 2. Create "Quick Action"

![create](https://github.com/user-attachments/assets/2d7ba1a6-2f29-4af0-b290-7efe938314c4)

## 3. Search for "appearance"

![search](https://github.com/user-attachments/assets/e3525979-1605-4055-91b6-6487d8e62e0c)

## 4. Drag "Change System Appearance" to the workflow

![configure](https://github.com/user-attachments/assets/f15f4e2f-fccd-4975-b625-7e895d86790d)

If you like, you can click "Run" in the top-right corner to test the action.

## 5. Save the Quick Action

![save](https://github.com/user-attachments/assets/9064cde7-fb26-4edf-9a34-61399110d4c1)

## 6. Assign a Keyboard Shortcut

Open `System Preferences` > `Keyboard` > `Shortcuts` > `Services` > `General` and assign a keyboard shortcut to the Quick Action.

![shortcut](https://github.com/user-attachments/assets/63749d21-c33c-457d-94a6-6df095f1937e)

Done! Enjoy your new shortcut 🤓🙈

0 comments on commit 202cefa

Please sign in to comment.