5 lines
113 B
Bash
5 lines
113 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
|
||
|
echo "${get_volume}%"
|