From f6cc4de8849154c344db7f224e7dc520a69cb020 Mon Sep 17 00:00:00 2001 From: Hugo Machet Date: Tue, 5 Mar 2024 11:51:02 +0100 Subject: [PATCH] example/init: Replace light with brightnessctl Change screen backlight brightness command to brightnessctl(1) as light(1) repo has been deleted. --- example/init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/init b/example/init index dff995c..06595b5 100755 --- a/example/init +++ b/example/init @@ -137,9 +137,9 @@ do riverctl map $mode None XF86AudioPrev spawn 'playerctl previous' riverctl map $mode None XF86AudioNext spawn 'playerctl next' - # Control screen backlight brightness with light (https://github.com/haikarainen/light) - riverctl map $mode None XF86MonBrightnessUp spawn 'light -A 5' - riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 5' + # Control screen backlight brightness with brightnessctl (https://github.com/Hummer12007/brightnessctl) + riverctl map $mode None XF86MonBrightnessUp spawn 'brightnessctl set +5%' + riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl set 5%-' done # Set background and border color