Compare commits
2 Commits
aa4c8d3193
...
0228fa0e4f
Author | SHA1 | Date | |
---|---|---|---|
0228fa0e4f | |||
8a9e00f168 |
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
|
||||
echo " ${get_volume}% "
|
||||
#get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
|
||||
get_volume=$(pactl list sinks | grep "Volume:" | head -1 | awk '{print $5}')
|
||||
echo " ${get_volume} "
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
|
||||
echo " ${get_volume}% "
|
||||
#get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
|
||||
get_volume=$(pactl list sinks | grep "Volume:" | head -1 | awk '{print $5}')
|
||||
echo " ${get_volume} "
|
||||
|
Loading…
x
Reference in New Issue
Block a user