X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e5d7e78f09fdaad72aea931b18487328d4509297..aa0af76a8a83b2fff89722dee91ce5abc2fde036:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 91b04fa..b816365 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -93,7 +93,7 @@ for s = 1, screen.count() do right_layout:add(separator) right_layout:add(require("widgets/awesompd")) right_layout:add(require("widgets/volume_widget")) - if utils.host == "chronos" then + if utils.has_battery() then right_layout:add(separator) right_layout:add(require("widgets/battery_widget")) end