From: Samir Benmendil Date: Sun, 24 Nov 2019 15:08:27 +0000 (+0000) Subject: awesome: replace utf8 char with single - to fix widget X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/0c60277b76e7350793411061db71b04adda7b9ce?ds=inline awesome: replace utf8 char with single - to fix widget --- diff --git a/awesome/widgets/battery_widget.lua b/awesome/widgets/battery_widget.lua index dceaacd..94d9b11 100644 --- a/awesome/widgets/battery_widget.lua +++ b/awesome/widgets/battery_widget.lua @@ -33,7 +33,7 @@ local function batclosure () return function (_, args) local state, charge = args[1], args[2] if not charge then return end - if state == "−" then + if state == "-" then dirsign = "↓" if charge <= nextlim then naughty.notify({title = "⚡ Warning! ⚡",