pub / sway-config

Configuration for the Sway Wayland Compositor
git clone src.jayvii.de/pub/sway-config.git
Home | Log | Files | Exports | Refs | RSS

audio-volume.sh (164B)


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