Skip to content

Commit f588bad

Browse files
author
Buğra Aydoğar
committed
interfaces/display-control: allow changing brightness value
1 parent 7ab2d47 commit f588bad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: interfaces/builtin/display_control.go

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ dbus (send)
8383
peer=(label=unconfined),
8484
8585
/sys/class/backlight/ r,
86+
87+
# Allow changing backlight
88+
/sys/devices/**/**/drm/card[0-9]/card[0-9]*/*_backlight/brightness w,
8689
`
8790

8891
type displayControlInterface struct {

0 commit comments

Comments
 (0)