pub / dotfiles

Configuration of software on my computer
git clone https://src.jayvii.de/pub/dotfiles.git
Home | Log | Files | Exports | Refs | RSS

audio-volume.sh (136B)


      1 #!/bin/bash
      2 
      3 VOLUME=`echo "$(get-volume)*100" | bc | cut -d'.' -f1`
      4 echo '{"percentage": '$VOLUME'}' | jq --unbuffered --compact-output