From ed307f528a59ace7f9857fde7e9a17ab840ce9eb Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 15 Nov 2017 22:58:50 +0100 Subject: i3status: add IP addresses, avoid Unicode --- pkg/i3status/battery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/i3status/battery.go') diff --git a/pkg/i3status/battery.go b/pkg/i3status/battery.go index 0b6979d..ec2aa88 100644 --- a/pkg/i3status/battery.go +++ b/pkg/i3status/battery.go @@ -57,10 +57,10 @@ func getBatteryStatus() []Block { color = "#AA0000" } - return section(Block{ + return section("bat", Block{ Name: "battery", Position: PositionBattery, - FullText: fmt.Sprintf("⚡ %d%%", energyPerc), + FullText: fmt.Sprintf("%d%%", energyPerc), Urgent: energyPerc < 10 && !charging, Color: color, }) -- cgit v1.3.1