X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e5d7e78f09fdaad72aea931b18487328d4509297..dd31c0dded7f7bcb22e6bc01b4c4d78f1e5d8f34:/awesome/topbar.lua?ds=sidebyside 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