Skip to content

Commit

Permalink
example/init: Replace light with brightnessctl
Browse files Browse the repository at this point in the history
Change screen backlight brightness command to brightnessctl(1) as
light(1) repo has been deleted.
  • Loading branch information
novakne authored and ifreund committed Mar 5, 2024
1 parent c4d6fab commit f6cc4de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6cc4de

Please sign in to comment.