forked from colonelpanic/dotfiles
16 lines
204 B
Bash
Executable File
16 lines
204 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
function pashowvolume {
|
|
if paismuted; then
|
|
volnoti-show -m
|
|
else
|
|
actual=$(pavolume)
|
|
max=100
|
|
show=$(( actual < max ? actual : max ))
|
|
volnoti-show "$show"
|
|
fi
|
|
}
|
|
|
|
pashowvolume
|
|
|