X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/db60ad8a3262ef02ee5801909d80cf4af527dacf..2b3374047e2b358f81a25c5e156424c9fba99e2f:/awesome/widgets/pomodoro.lua?ds=inline diff --git a/awesome/widgets/pomodoro.lua b/awesome/widgets/pomodoro.lua index ff158c1..096952c 100644 --- a/awesome/widgets/pomodoro.lua +++ b/awesome/widgets/pomodoro.lua @@ -14,7 +14,7 @@ pomodoro.auto_start_pomodoro = false pomodoro.init() -pombox = wibox.layout.fixed.horizontal() +local pombox = wibox.layout.fixed.horizontal() pombox:add(pomodoro.icon_widget) pombox:add(pomodoro.widget) @@ -23,7 +23,7 @@ pombox:add(pomodoro.widget) -- pomodoro:connect_signal("stop_pause", function () naughty.notify{ text = "stop_pause", timeout = 10 } end) -- pomodoro:connect_signal("start_working", function () naughty.notify{ text = "start_working", timeout = 10 } end) pomodoro:connect_signal("work_stop", function () - utils.spawn_terminal("diary", { instance = "diary" }) + awful.spawn(terminal, {floating = true, placement = awful.centered }) end) globalkeys = gears.table.join(globalkeys,