[submodule "awesome/widgets/net_widgets"]
path = awesome/widgets/net_widgets
url = git@github.com:Ram-Z/net_widgets.git
-[submodule "awesome/widgets/pomodoro"]
- path = awesome/widgets/pomodoro
- url = git@github.com:/Ram-Z/awesome-pomodoro
- branch = module-path
[submodule "zsh/lib/zsh-syntax-highlighting"]
path = zsh/lib/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
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
+++ /dev/null
-Subproject commit a861385355d0ac10091eda49757fc9eda05480a3
+++ /dev/null
-local pomodoro = require("widgets/pomodoro/init")
-local wibox = require("wibox")
-
--- durations in seconds
-pomodoro.short_pause_duration = 5 * 60
-pomodoro.long_pause_duration = 30 * 60
-pomodoro.work_duration = 25 * 60
-
--- format string
-pomodoro.format = function (t) return " <b>"..t.."</b>" end
-
-pomodoro.init()
-
-pombox = wibox.layout.fixed.horizontal()
-pombox:add(pomodoro.icon_widget)
-pombox:add(pomodoro.widget)
-
-globalkeys = awful.util.table.join(globalkeys,
- awful.key({ modkey, "Shift" }, "p", function() pomodoro:start() end)
-)
-
-return pombox