aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorMartin Ueding <dev@martin-ueding.de>2013-12-12 13:35:39 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-12-15 17:30:37 +0100
commitdc556e5415ee1d1b3b74508e016fb1693d55a311 (patch)
treea6ed3b8e1ff7b33115b73c43995d8b483e973cb2 /widgets
parentf36997bab4362e889c2cc8aa06ae4da57b9f1953 (diff)
downloadvicious-legacy-dc556e5415ee1d1b3b74508e016fb1693d55a311.tar.xz
bat: Use a real minus sign for the charging status
Previously, a simple hyphen (“-”) was used to show that the battery is discharging. The minus sign is a distinct char, and also distinct from the en-dash (“–”) and the em-dash (“—”). With this commit, I put in a unicode “MINUS SIGN” (0x2212) which I created with a Digraph in Vim `^k-2`. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Diffstat (limited to 'widgets')
-rw-r--r--widgets/bat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/bat.lua b/widgets/bat.lua
index 34d1124..76a9d4c 100644
--- a/widgets/bat.lua
+++ b/widgets/bat.lua
@@ -30,7 +30,7 @@ local function worker(format, warg)
["Unknown\n"] = "⌁",
["Charged\n"] = "↯",
["Charging\n"] = "+",
- ["Discharging\n"] = "-"
+ ["Discharging\n"] = "−"
}
-- Check if the battery is present