X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f2199b615e1624b4de93075a40a38b68d9aa8e15..c98ff8ea47598e577c5a23a94efdfb0a6eaf22e9:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 91b04fa..4d5d505 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -89,11 +89,9 @@ for s = 1, screen.count() do local right_layout = wibox.layout.fixed.horizontal() if s == 1 then right_layout:add(wibox.widget.systray()) end right_layout:add(separator) - right_layout:add(require("widgets/pomodoro")) - 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