diff options
author | Martin Ueding <dev@martin-ueding.de> | 2013-12-12 13:35:39 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-12-15 17:30:37 +0100 |
commit | dc556e5415ee1d1b3b74508e016fb1693d55a311 (patch) | |
tree | a6ed3b8e1ff7b33115b73c43995d8b483e973cb2 /widgets | |
parent | f36997bab4362e889c2cc8aa06ae4da57b9f1953 (diff) | |
download | vicious-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.lua | 2 |
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 |