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 c718123da9ed35e9f92fd54c78038d9517135db3
parent 35b8ff6b392951199516bd8a9951e967b79eafb4
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 19 Feb 2019 10:41:11 +0100

Remove space before percentage

Diffstat:
Mlinks/.config/i3/i3scripts/i3battery | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/links/.config/i3/i3scripts/i3battery b/links/.config/i3/i3scripts/i3battery @@ -18,7 +18,7 @@ time=" ($(acpi -b | egrep -o '[0-9][0-9]:[0-9][0-9]'))" powerdraw=" $(( $(cat /sys/class/power_supply/"$1"/power_now)/1000000 ))W" [[ "$powerdraw" = " 0W" ]] && powerdraw="" -warn=" " +warn="" if [ "$capacity" -ge 80 ]; then color="#b8bb26" elif [ "$capacity" -ge 60 ]; then