X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e79e1bcb79fa03affdaea627a4f0e0668d38162c..aa0af76a8a83b2fff89722dee91ce5abc2fde036:/awesome/topbar.lua?ds=sidebyside diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 7986af0..b816365 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -89,9 +89,11 @@ 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