Requesting extension for app brightness without requiring permissions

Hello, Here’s a small extension that changes the window’s brightness, without requiring any special permission, using the code in the link posted here .

blocks(1)

  • SetWindowBrightness: Overrides the user’s preferred brightness of the screen. The value can be a number from 1 to 100. Note: this change applies to the current window only, it’s not global to the whole device.
  • GetWindowBrightness: Returns a value between 1 to 100 representing the window brightness. Returns -1 if the window uses the user’s preferred screen brightness.

Download Link:
AIX: io.mohamed.brightness.aix (4.3 KB)
AIA: brightness.aia (6.6 KB)

Source:

Hope it helps!

11 Likes