+ const today = new Date().toLocaleDateString(undefined, { weekday: 'long', month: 'long', day: 'numeric' });
+ $('#view').innerHTML = `
+
${allowed('search') ? `
${icon('search')}Search tasks, events, files, music` : ''}
-
${allowed('music') ? '
' : ''}
-
-
- ${recents.length && allowed('files') ? `
Recent files
${recents.map((r, i) => ``).join('')}
` : ''}
- ${homeApps()}
- ${allowed('mail') && cfg.mail ? '
' : ''}
+
+
${allowed('mail') && cfg.mail ? '
' : ''}
+ ${recents.length && allowed('files') ? `
Recent files
${recents.map((r, i) => ``).join('')}
` : ''}
+