From 84cbd34b356c10f17ff6cf6c409b9539d26c79f5 Mon Sep 17 00:00:00 2001 From: epwalsh Date: Tue, 2 Apr 2024 16:50:35 -0700 Subject: [PATCH] style --- lua/pomo/notifiers/system.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/pomo/notifiers/system.lua b/lua/pomo/notifiers/system.lua index 72ef0ff..58c1ce5 100644 --- a/lua/pomo/notifiers/system.lua +++ b/lua/pomo/notifiers/system.lua @@ -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 ) @@ -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 )