@ -30,6 +30,9 @@ end
function getvol
killall notify-osd
set vol (pactl list sinks | grep '^[[:space:]]Volume:' | head -n 1 | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')
if [ $vol -gt '100' ]
set vol 100
pactl set-sink-volume 0 100%
end
notify-send -t 50 'Volume: '$vol'%'
sleep 2
Proudly self-hosted by Cole Deck. Fast loading powered by Turbo.