From c71cff0253067d1309fc8d0034b975618a43d541 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 26 May 2024 13:30:12 +0100 Subject: Added facility to save and restore brightness using brightnessctl --- .config/river/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/river/init') diff --git a/.config/river/init b/.config/river/init index f290ce6..f53d494 100755 --- a/.config/river/init +++ b/.config/river/init @@ -191,8 +191,8 @@ do 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 'brightnessctl s +5' - riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl s 5-' + riverctl map $mode None XF86MonBrightnessUp spawn 'brightnessctl -s > ~/.cache/brightness s +5' + riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl -s > ~/.cache/brightness s 5-' done # auto starting apps -- cgit v1.2.3