diff --git a/README.md b/README.md index 16d81ba..355e3d5 100644 --- a/README.md +++ b/README.md @@ -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 🎄_ diff --git a/articles/20250102_osx_dark_mode_shortcut/20250102_osx_dark_mode_shortcut.md b/articles/20250102_osx_dark_mode_shortcut/20250102_osx_dark_mode_shortcut.md new file mode 100644 index 0000000..37c5864 --- /dev/null +++ b/articles/20250102_osx_dark_mode_shortcut/20250102_osx_dark_mode_shortcut.md @@ -0,0 +1,50 @@ +# 20250102 OSX dark mode shortcut + +*Using the power of OSX Automator!* + + + +> 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 🤓🙈