ShareShortcuts

Toggle Appearance

You get to toggle your appearance!

gaming-103
Fork “Toggle Appearance”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so gaming-103 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
40K
Saved
0
Actions
27
Category
Utilities
Version
1.0
Language
EN

You get to toggle your appearance!

What's New

Version 1.0

First release

Version History
1.0 Jul 16, 2022

First release

What it does

27 actions
  1. Choose from Menu
    Light or Dark mode?
  2. Choose from Menu
    Light
  3. Set Appearance
  4. Choose from Menu
    Dark
  5. Set Appearance
  6. Choose from Menu
    Brightness?
  7. Choose from Menu
    75%
  8. Set Brightness
  9. Choose from Menu
    50%
  10. Set Brightness
  11. Choose from Menu
    35%
  12. Set Brightness
  13. Choose from Menu
    20%
  14. Set Brightness
  15. Choose from Menu
    15%
  16. Set Brightness
  17. Choose from Menu
    Airplane mode On or Off?
  18. Choose from Menu
    On
  19. Set Airplane Mode
  20. Choose from Menu
    Off
  21. Set Airplane Mode
  22. Choose from Menu
    Wi-Fi on or off?
  23. Choose from Menu
    On
  24. Set Wi-Fi
  25. Choose from Menu
    Off
  26. Set Wi-Fi
  27. Show Notification
    Done! 🥳

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/settings'
#define color red
#define glyph appearance


menu "Light or Dark mode?" {
item "Light":
	darkMode()
item "Dark":
	darkMode()
}

menu "Brightness?" {
item "75%":
	setBrightness(0.7514970302581787)
item "50%":
	setBrightness(nil)
item "35%":
	setBrightness(0.35329341888427734)
item "20%":
	setBrightness(0.19760479032993317)
item "15%":
	setBrightness(0.1497005969285965)
}

menu "Airplane mode On or Off?" {
item "On":
	setAirplaneMode(false)
item "Off":
	setAirplaneMode(0)
}

menu "Wi-Fi on or off?" {
item "On":
	setWifi(false)
item "Off":
	setWifi(0)
}
showNotification("Done! 🥳", false, MenuResult)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by gaming-103

See All

You Might Also Like

See All
Advertisement