You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add save reminder to Adv mode and change colors based on how long it has been since a save (#1384)
use `:lua reqscript('internal/notify/notifications').save_time_threshold_mins=X` to set the threshold to X mins
---------
Co-authored-by: Myk <myk.taylor@gmail.com>
-- the order of this list controls the order the notifications will appear in the overlay
307
338
NOTIFICATIONS_BY_IDX= {
308
339
{
@@ -526,20 +557,10 @@ NOTIFICATIONS_BY_IDX = {
526
557
},
527
558
{
528
559
name='save-reminder',
529
-
desc='Shows a reminder if it has been more than 15 minutes since your last save.',
560
+
desc=('Shows a reminder if it has been more than %d minute%s since your last save.'):format(save_time_threshold_mins, save_time_threshold_mins==1and'' or's'),
0 commit comments