Skip to content

Commit

Permalink
Add a log message for "notify-send"
Browse files Browse the repository at this point in the history
  • Loading branch information
naspeh committed Apr 25, 2024
1 parent 92abcb9 commit cac63e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timefor
Git LFS file not shown
1 change: 1 addition & 0 deletions timefor.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ func Daemon(
return err
}
if duration > intervalToShowBreakReminder && time.Since(notified) > intervalToRepeatBreakReminder {
fmt.Printf("sending notification for %s\n", formatDuration(duration))
args := []string{
"Take a break!",
fmt.Sprintf("Active for %v already", formatDuration(duration)),
Expand Down

0 comments on commit cac63e9

Please sign in to comment.