summaryrefslogtreecommitdiff
path: root/pomodoroarc-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-12-05 20:57:04 -0500
committerstreetturtle <streetturtle@gmail.com>2020-12-05 20:57:04 -0500
commita0cd854a4d36167456bb28d255bf96a32321bf2a (patch)
treeb42aa4e39d0b46144ed64d1d4f20e90c28465d3d /pomodoroarc-widget
parentd9eb3885eea90e06b79ff8fc4b2d1c1b8f5e4cfd (diff)
fix more warnings
Diffstat (limited to 'pomodoroarc-widget')
-rw-r--r--pomodoroarc-widget/pomodoroarc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/pomodoroarc-widget/pomodoroarc.lua b/pomodoroarc-widget/pomodoroarc.lua
index dab8c3a..497a208 100644
--- a/pomodoroarc-widget/pomodoroarc.lua
+++ b/pomodoroarc-widget/pomodoroarc.lua
@@ -92,7 +92,7 @@ text.font = "Inconsolata Medium 13"
widget.value = tonumber(pomodoro/(25*60))
text.font = "Inconsolata Medium 13"
text.text = "PW"
- elseif workbreak == "B" then
+ elseif workbreak == "B" then
widget.colors = { beautiful.widget_yellow }
widget.value = tonumber(pomodoro/(5*60))
text.font = "Inconsolata Medium 13"
@@ -114,7 +114,7 @@ pomodoroarc:connect_signal("button::press", function(_, _, _, button)
end)
local notification
-function show_pomodoro_status()
+local function show_pomodoro_status()
spawn.easy_async(GET_pomodoro_CMD,
function(stdout, _, _, _)
notification = naughty.notify {