diff --git a/desktop/.config/river/init b/desktop/.config/river/init index b884b6c..64c907d 100755 --- a/desktop/.config/river/init +++ b/desktop/.config/river/init @@ -191,8 +191,8 @@ for mode in normal locked; do # Eject the optical drive riverctl map $mode None XF86Eject spawn 'eject -T' - riverctl map $mode None XF86AudioRaiseVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ +5%' - riverctl map $mode None XF86AudioLowerVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ -5%' + riverctl map -repeat $mode None XF86AudioRaiseVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ +5%' + riverctl map -repeat $mode None XF86AudioLowerVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ -5%' riverctl map $mode None XF86AudioMute spawn 'pactl set-sink-mute @DEFAULT_SINK@ toggle' # Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl) @@ -202,8 +202,8 @@ for mode in normal locked; do riverctl map $mode None XF86AudioNext spawn 'playerctl next' # You can control screen backlight brighness with light (https://github.com/haikarainen/light); but we prefer brightnessctl - riverctl map $mode None XF86MonBrightnessUp spawn 'brightnessctl set 10%+' - riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl set 10%-' + riverctl map -repeat $mode None XF86MonBrightnessUp spawn 'brightnessctl set 10%+' + riverctl map -repeat $mode None XF86MonBrightnessDown spawn 'brightnessctl set 10%-' done # The scratchpad will live on an unused tag. Which tags are used depends on your