Skip to content

Commit aa4976d

Browse files
committed
uxdy,
if more than 5 hr
1 parent 5d22dcf commit aa4976d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ $ document
331331
timeUntil = (time - (weekday * MINUTES_PER_DAY + minutes)) %% MINUTES_PER_WEEK
332332
title = "#{displayDuration timeUntil} until #{meeting.name} #{type}s · uxdy"
333333
if title isnt lastTitle
334-
document.title = lastTitle = title
334+
document.title = if timeUntil < 5 * 60 then title else 'uxdy,'
335+
lastTitle = title
335336
$ '#status'
336337
.text title
337338
if Notification.permission is 'granted'

0 commit comments

Comments
 (0)