Skip to content

Commit f6cc4de

Browse files
novakneifreund
authored andcommitted
example/init: Replace light with brightnessctl
Change screen backlight brightness command to brightnessctl(1) as light(1) repo has been deleted.
1 parent c4d6fab commit f6cc4de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/init

+3-3
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ do
137137
riverctl map $mode None XF86AudioPrev spawn 'playerctl previous'
138138
riverctl map $mode None XF86AudioNext spawn 'playerctl next'
139139

140-
# Control screen backlight brightness with light (https://github.com/haikarainen/light)
141-
riverctl map $mode None XF86MonBrightnessUp spawn 'light -A 5'
142-
riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 5'
140+
# Control screen backlight brightness with brightnessctl (https://github.com/Hummer12007/brightnessctl)
141+
riverctl map $mode None XF86MonBrightnessUp spawn 'brightnessctl set +5%'
142+
riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl set 5%-'
143143
done
144144

145145
# Set background and border color

0 commit comments

Comments
 (0)