Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Apr 2, 2024
1 parent 0d93d9e commit 84cbd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/pomo/notifiers/system.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ SystemNotifier.done = function(self) ---@diagnostic disable-line: unused-local
string.format(
[[osascript -e 'display notification "Timer done!" with title "Timer #%d%s%s%s" sound name "Ping"']],
self.timer.id,
( self.timer.name and ' ('..self.timer.name..'), ' or ', ' ),
(self.timer.name and " (" .. self.timer.name .. "), " or ", "),
util.format_time(self.timer.time_limit),
repetitions_str
)
Expand All @@ -53,7 +53,7 @@ SystemNotifier.done = function(self) ---@diagnostic disable-line: unused-local
string.format(
[[notify-send -u critical -i "appointment-soon" "Timer %d%s%s%s" "Timer done!"]],
self.timer.id,
( self.timer.name and ' ('..self.timer.name..'), ' or ', ' ),
(self.timer.name and " (" .. self.timer.name .. "), " or ", "),
util.format_time(self.timer.time_limit),
repetitions_str
)
Expand Down

0 comments on commit 84cbd34

Please sign in to comment.