From f96844b906f88708ee61eec9f44ac5a15c77f3c8 Mon Sep 17 00:00:00 2001 From: Pi-Yueh Chuang Date: Wed, 18 Dec 2019 23:34:30 -0500 Subject: [PATCH] add icons to battery-upower The icons are the same set used by the module *battery*. --- themes/icons/ascii.json | 39 +++++++++++++++++++++++++++++++++ themes/icons/awesome-fonts.json | 20 +++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/themes/icons/ascii.json b/themes/icons/ascii.json index fc36b95..fea74a1 100644 --- a/themes/icons/ascii.json +++ b/themes/icons/ascii.json @@ -93,6 +93,45 @@ "prefix": "tun" } }, + "battery-upower": { + "charged": { + "suffix": "full" + }, + "charging": { + "suffix": "chr" + }, + "AC": { + "suffix": "ac" + }, + "discharging-10": { + "prefix": "!", + "suffix": "dis" + }, + "discharging-25": { + "suffix": "dis" + }, + "discharging-50": { + "suffix": "dis" + }, + "discharging-80": { + "suffix": "dis" + }, + "discharging-100": { + "suffix": "dis" + }, + "unknown-25": { + "suffix": "?" + }, + "unknown-50": { + "suffix": "?" + }, + "unknown-80": { + "suffix": "?" + }, + "unknown-100": { + "suffix": "?" + } + }, "battery": { "charged": { "suffix": "full" diff --git a/themes/icons/awesome-fonts.json b/themes/icons/awesome-fonts.json index 476d065..36ef75a 100644 --- a/themes/icons/awesome-fonts.json +++ b/themes/icons/awesome-fonts.json @@ -82,6 +82,26 @@ "OFF": { "prefix": "" }, "?": { "prefix": "" } }, + "battery-upower": { + "charged": { "prefix": "", "suffix": "" }, + "AC": { "suffix": "" }, + "charging": { + "prefix": ["", "", "", "", ""], + "suffix": "" + }, + "discharging-10": { "prefix": "", "suffix": "" }, + "discharging-25": { "prefix": "", "suffix": "" }, + "discharging-50": { "prefix": "", "suffix": "" }, + "discharging-80": { "prefix": "", "suffix": "" }, + "discharging-100": { "prefix": "", "suffix": "" }, + "unlimited": { "prefix": "", "suffix": "" }, + "estimate": { "prefix": "" }, + "unknown-10": { "prefix": "", "suffix": "" }, + "unknown-25": { "prefix": "", "suffix": "" }, + "unknown-50": { "prefix": "", "suffix": "" }, + "unknown-80": { "prefix": "", "suffix": "" }, + "unknown-100": { "prefix": "", "suffix": "" } + }, "battery": { "charged": { "prefix": "", "suffix": "" }, "AC": { "suffix": "" },