summaryrefslogtreecommitdiff
path: root/pomodoroarc-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2020-12-07 15:33:55 -0500
committerGitHub <noreply@github.com>2020-12-07 15:33:55 -0500
commitd4971690cec1e074999e730d87045e578d71e43c (patch)
treeb0f05079840eba5467e14bdcd093ad3ed5362cf4 /pomodoroarc-widget
parentf078748e76eacae599cf0ad06120d9fff54f8fa5 (diff)
parented2b256407291d8edadfcea9380029633cc7d9d8 (diff)
Merge pull request #224 from streetturtle/comply-with-luacheck
Comply with luacheck
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 {