From 13e032386b1fed5fb988cb4320e5fcfc67877606 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 13 Apr 2024 08:56:58 +0100 Subject: Switched the unmaintained light for brightnessctl --- .config/river/init | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/river') diff --git a/.config/river/init b/.config/river/init index 1da7628..f290ce6 100755 --- a/.config/river/init +++ b/.config/river/init @@ -46,6 +46,9 @@ riverctl map normal Super B spawn "killall yambar || ~/.config/yambar/scripts/ya # Power Menu riverctl map normal Control+Super P spawn "~/.local/bin/powermenu" +# Emoji Menu +riverctl map normal Super E spawn "~/.local/bin/emoji-menu" + # Take a screenshot of the active output riverctl map normal None Print spawn '~/.config/river/scripts/screenshot.sh' @@ -188,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 'light -A 5; light -O' - riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 5; light -O' + riverctl map $mode None XF86MonBrightnessUp spawn 'brightnessctl s +5' + riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl s 5-' done # auto starting apps -- cgit v1.2.3