dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 957bdfae2dc2d5ff3fdea329bd5ee40465589b5b
parent bf90b4d94c7fdd2f8442438c6ac74b91bbc3a562
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 26 Jun 2019 22:39:20 +0200

Hide debug output included by mistake

Diffstat:
M.local/bin/sysstatus | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/.local/bin/sysstatus b/.local/bin/sysstatus @@ -11,7 +11,6 @@ cpuload=$(cut -d' ' -f1 /proc/loadavg) batstatus=$(sed -n 's/Charging/+/;s/Discharging/-/' \ /sys/class/power_supply/${battery}/status | sed 's/Unknown//') batlvl=$(cat /sys/class/power_supply/${battery}/capacity) -acpi -b batremain=$(acpi -b | sed 1q |\ sed -n 's/.*\([0-9][0-9]:[0-9][0-9]\):[0-9][0-9].*$/\1/p') battery="$(echo "${batstatus}${batlvl}% ${batremain}" | sed 's/ $//')"