The brilume shortcut is a multi functioning shortcut that can check your current volume and brightness or set brightness and volume to the desired increment 😮💨
Novedades
Versión 1.0
First release
Qué hace
40 acciones-
Choose from MenuVolume or Brightness?
-
Choose from MenuVolume
-
Choose from MenuWhat increment do you want your volume to be at?
-
Choose from Menu50% Volume
-
Set Volume
-
Choose from Menu25% Volume
-
Set Volume
-
Choose from Menu100% Volume
-
Set Volume
-
Choose from Menu75% Volume
-
Set Volume
-
Choose from MenuCustom
-
Ask for InputEnter volume %
-
Set VariableVolumeInput
-
Calculate
-
Set Volume
-
Choose from MenuCheck volume
-
Get Device Details
-
Calculate
-
Round Number
-
Show Notification…% Volume 🔊
-
Choose from MenuBrightness
-
Choose from MenuWhat increment do you want your brightness to be at?
-
Choose from Menu50% Brightness
-
Set Brightness
-
Choose from Menu25% Brightness
-
Set Brightness
-
Choose from Menu100% Brightness
-
Set Brightness
-
Choose from Menu75% Brightness
-
Set Brightness
-
Choose from MenuCustom
-
Ask for InputEnter brightness %
-
Calculate
-
Set Brightness
-
Choose from MenuCheck brightness
-
Get Device Details
-
Calculate
-
Round Number
-
Show Notification…% Brightness💡
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/math'
#include 'actions/device'
#define color yellow
#define glyph lightningBolt
const VolumeInput = menu "Volume or Brightness?" {
item "Volume":
menu "What increment do you want your volume to be at?" {
item "50% Volume":
setVolume(nil)
item "25% Volume":
setVolume(0.24948817)
item "100% Volume":
setVolume(1)
item "75% Volume":
setVolume(0.7523775)
item "Custom":
prompt("Enter volume %", "Number")
@VolumeInput
const CalculationResult = @VolumeInput / 100
setVolume(CalculationResult)
item "Check volume":
const CurrentVolume = getDeviceDetail("Current Volume")
const CalculationResult1 = CurrentVolume * 100
round(CalculationResult1)
showNotification("{}% Volume 🔊")
}
item "Brightness":
menu "What increment do you want your brightness to be at?" {
item "50% Brightness":
setBrightness(nil)
item "25% Brightness":
setBrightness(0.2506562)
item "100% Brightness":
setBrightness(1)
item "75% Brightness":
setBrightness(0.7467192)
item "Custom":
const ProvidedInput = prompt("Enter brightness %", "Number")
const CalculationResult2 = ProvidedInput / 100
setBrightness(CalculationResult2)
item "Check brightness":
const CurrentBrightness = getDeviceDetail("Current Brightness")
const CalculationResult3 = CurrentBrightness * 100
round(CalculationResult3)
showNotification("{CalculationResult3}% Brightness💡")
}
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de celebrity
También te puede gustar
Publicidad