X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e79e1bcb79fa03affdaea627a4f0e0668d38162c..c98ff8ea47598e577c5a23a94efdfb0a6eaf22e9:/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