X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/24afba88c203f4e2ef575571e54a72503a1f72f4..30a510867ee248d937c772c091ce2b1f15bab755:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 7986af0..4d5d505 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -91,7 +91,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