#!/bin/sh
brig="$(brightnessctl set "$1" -m | sed -e 's/.*,\([0-9]*\)%.*/\1/')"
notify-send -t 2000 -h "int:value:$brig" -a "brightness" "$brig%" \
	-h string:x-canonical-private-synchronous:brightness