From f44092cc90b866006579fff0e3a6a0711ec9b758 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Wed, 4 Jun 2025 10:24:59 +0400 Subject: [PATCH] Replace light with brightnessctl --- etc/skel/.config/river/keybindings.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/skel/.config/river/keybindings.sh b/etc/skel/.config/river/keybindings.sh index a15bc56..05be524 100755 --- a/etc/skel/.config/river/keybindings.sh +++ b/etc/skel/.config/river/keybindings.sh @@ -164,9 +164,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 && $brightness_bar" - riverctl map $mode None XF86MonBrightnessDown spawn "light -U 5 && $brightness_bar" + # Control screen backlight brightness with brightnessctl (https://github.com/Hummer12007/brightnessctl) + riverctl map $mode None XF86MonBrightnessUp spawn "brightnessctl set +5% && $brightness_bar" + riverctl map $mode None XF86MonBrightnessDown spawn "brightnessctl set 5%- && $brightness_bar" done # Set keyboard repeat rate