2 lines
136 B
Bash
Executable file
2 lines
136 B
Bash
Executable file
#! /bin/sh
|
|
wpctl get-volume @DEFAULT_AUDIO_SINK@ | sed -r 's/Volume: //g' | xargs -n1 | awk '{print $1*100}' | xargs -n 1 echo "$1"
|