add screenshot keybind to river config

This commit is contained in:
LordMZTE 2022-12-14 21:23:41 +01:00
parent db9c7ad514
commit 11f365917a
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -137,6 +137,9 @@ do
# Control screen backlight brighness 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'
# screenshot
riverctl map $mode None Print spawn 'grim -g "$(slurp -o)" - | wl-copy'
done
# Set background and border color