repositories
/
dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first real commit, started clean
[dotfiles.git]
/
.i3
/
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