projects
/
~bandali
/
configs
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d87137ecce73fb85ea68dd71a41fb480f1d04f16
[~bandali/configs]
/
.local
/
bin
/
volume-info
1
#!/bin/sh
2
3
cur_vol
=
$
(
pamixer
--get-volume
)
4
5
if
[
$
(
pamixer
--get-mute
) =
true
];
then
6
printf
'mt
\n
'
"
$cur_vol
"
7
else
8
printf
'%02d
\n
'
"
$cur_vol
"
9
fi