From 066c1faa30469a18622bba315ad38379477d355a Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 5 Aug 2016 08:38:45 -0500 Subject: [PATCH] * usr/lib/byobu/battery: - battery color when black-on-red is hard to read; change to white on red. --- debian/changelog | 4 +++- usr/lib/byobu/battery | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7011d40f..74e9252c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ byobu (5.111) unreleased; urgency=medium - * UNRELEASED + * usr/lib/byobu/battery: + - battery color when black-on-red is hard to read; change to + white on red. -- Dustin Kirkland Fri, 29 Jul 2016 12:29:07 -0500 diff --git a/usr/lib/byobu/battery b/usr/lib/byobu/battery index 067871c9..d6cc0b85 100755 --- a/usr/lib/byobu/battery +++ b/usr/lib/byobu/battery @@ -103,8 +103,8 @@ __battery() { if [ $rem -ge 0 ] && [ $full -gt 0 ]; then percent=$(((100*$rem)/$full)) if [ "$percent" -lt 33 ]; then - color="R k" - bcolor="b R k" + color="R w" + bcolor="b R w" elif [ "$percent" -lt 67 ]; then color="Y k" bcolor="b Y k"