Files
2026-05-16 13:01:39 -04:00

16 lines
241 B
Fish

#!/bin/fish
function inc_brightness
brightnessctl -q set +5%
set -f cur ( brightnessctl get )
set -f max ( brightnessctl max )
set -f ret ( math -s0 "100 * $cur / $max" )
#echo $ret > /tmp/xobpipe
echo $ret
end