Compare commits

..

No commits in common. "0228fa0e4f10339061591d12224948fe99acdb56" and "aa4c8d3193a86b42d15a3799633a1addbc28389d" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,4 @@
#!/bin/bash
#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} "
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
echo "${get_volume}% "

View File

@ -1,5 +1,4 @@
#!/bin/bash
#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} "
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
echo "${get_volume}% "