repositories
/
dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
453b0968cfe6fa6bef4f36e85f8f04294c3f6b47
[dotfiles.git]
/
bar
1
#!/bin/bash
2
function
volume
{
3
volume
=
$
(
amixer |
grep
-A4
Master |
grep
-o
"[0-9]\{1,3\}%\|\[off\]"
)
4
echo -ne
"Volume:
$volume
| "
5
}
6
7
while
[
1
];
do
8
echo
"$(volume)$(date +%y-%m-%d\ %H:%M)"
9
sleep
5
10
done