Scan with your iPhone to install
Preview
Brightness
What's New
Version 1.0
First release
What it does
19 actions-
Choose from MenuMain Menu
-
Choose from MenuBrightness💡
-
Choose from MenuChoose your brightness
-
Choose from Menu0%
-
Set Brightness
-
Choose from Menu25%
-
Set Brightness
-
Choose from Menu50%
-
Set Brightness
-
Choose from Menu75%
-
Set Brightness
-
Choose from Menu100%
-
Set Brightness
-
Choose from MenuSettings🔒(ignore if on apple watch)
-
Choose from Menu
-
Choose from MenuEnable Dark Mode (saves battery)
-
Set Appearance
-
Choose from MenuEnable Light Mode (wastes battery)
-
Set Appearance
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/settings'
#include 'actions/device'
#define color green
#define glyph iPhone
menu "Main Menu" {
item "Brightness💡":
menu "Choose your brightness" {
item "0%":
setBrightness(0)
item "25%":
setBrightness(0.2514970004558563)
item "50%":
setBrightness(nil)
item "75%":
setBrightness(0.7514970302581787)
item "100%":
setBrightness(1)
}
item "Settings🔒(ignore if on apple watch)":
menu nil {
item "Enable Dark Mode (saves battery)":
darkMode()
item "Enable Light Mode (wastes battery)":
darkMode()
}
}
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 awesomeusername
You Might Also Like
Advertisement