dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 71028be57c3509a9448d9d4c5375e31174558f1c
parent 44acd70f7725692b69b8efa6ba703330c482e15f
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 11 Mar 2021 17:35:47 +0000

correct amixer percentage field

Diffstat:
Mbin/bin/sysinfo | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/bin/sysinfo b/bin/bin/sysinfo @@ -99,7 +99,7 @@ if [ -f $battery/charge_full ] ; then fi #\\ volume -vol=`amixer get Master | awk '$0~/%/{print $5}' | head -n1 | tr -d '[]%'` +vol=`amixer get Master | awk '$0~/%/{print $4}' | head -n1 | tr -d '[]%'` if amixer get Master | grep -q '\[off\]' then color='31'