234 lines
5.5 KiB
JavaScript
234 lines
5.5 KiB
JavaScript
// ╔╗ ╔═╗╔╗╔╔╦╗╔═╗
|
|
// ╠╩╗║╣ ║║║ ║ ║ ║
|
|
// ╚═╝╚═╝╝╚╝ ╩ ╚═╝
|
|
// ┌─┐┌─┐┌┐┌┌─┐┬┌─┐┬ ┬┬─┐┌─┐┌┬┐┬┌─┐┌┐┌
|
|
// │ │ ││││├┤ ││ ┬│ │├┬┘├─┤ │ ││ ││││
|
|
// └─┘└─┘┘└┘└ ┴└─┘└─┘┴└─┴ ┴ ┴ ┴└─┘┘└┘
|
|
|
|
const CONFIG = {
|
|
// ┌┐ ┌─┐┌─┐┬┌─┐┌─┐
|
|
// ├┴┐├─┤└─┐││ └─┐
|
|
// └─┘┴ ┴└─┘┴└─┘└─┘
|
|
|
|
// General
|
|
name: 'John',
|
|
imageBackground: false,
|
|
openInNewTab: true,
|
|
twelveHourFormat: false,
|
|
|
|
// Layout
|
|
bentoLayout: 'bento', // 'bento', 'lists', 'buttons'
|
|
|
|
// Greetings
|
|
greetingMorning: 'Good morning!',
|
|
greetingAfternoon: 'Good afternoon,',
|
|
greetingEvening: 'Good evening,',
|
|
greetingNight: 'Go to Sleep!',
|
|
|
|
// Weather
|
|
weatherKey: '15fe26a8e22e4783054e3273824c5e7b', // Write here your API Key
|
|
weatherIcons: 'OneDark', // 'Onedark', 'Nord', 'Dark', 'White'
|
|
weatherUnit: 'C', // 'F', 'C'
|
|
language: 'en', // More languages in https://openweathermap.org/current#multi
|
|
|
|
trackLocation: true, // If false or an error occurs, the app will use the lat/lon below
|
|
defaultLatitude: '37.775',
|
|
defaultLongitude: '-122.419',
|
|
|
|
// Autochange
|
|
autoChangeTheme: true,
|
|
|
|
// Autochabge by OS
|
|
changeThemeByOS: false,
|
|
|
|
// Autochange by hour options (24hrs format, string must be in: hh:mm)
|
|
changeThemeByHour: true,
|
|
hourDarkThemeActive: '18:30',
|
|
hourDarkThemeInactive: '07:00',
|
|
|
|
// ╦ ╦╔╗╔╦╔═╔═╗
|
|
// ║ ║║║║╠╩╗╚═╗
|
|
// ╩═╝╩╝╚╝╩ ╩╚═╝
|
|
// ┌┐ ┬ ┬┌┬┐┌┬┐┌─┐┌┐┌┌─┐
|
|
// ├┴┐│ │ │ │ │ ││││└─┐
|
|
// └─┘└─┘ ┴ ┴ └─┘┘└┘└─┘
|
|
|
|
firstButtonsContainer: [
|
|
{
|
|
id: '1',
|
|
name: 'Github',
|
|
icon: 'github',
|
|
link: 'https://github.com/',
|
|
},
|
|
{
|
|
id: '2',
|
|
name: 'Mail',
|
|
icon: 'mail',
|
|
link: 'https://mail.protonmail.com/',
|
|
},
|
|
{
|
|
id: '3',
|
|
name: 'Todoist',
|
|
icon: 'trello',
|
|
link: 'https://todoist.com',
|
|
},
|
|
{
|
|
id: '4',
|
|
name: 'Calendar',
|
|
icon: 'calendar',
|
|
link: 'https://calendar.google.com/calendar/r',
|
|
},
|
|
{
|
|
id: '5',
|
|
name: 'Reddit',
|
|
icon: 'glasses',
|
|
link: 'https://reddit.com',
|
|
},
|
|
{
|
|
id: '6',
|
|
name: 'Odysee',
|
|
icon: 'youtube',
|
|
link: 'https://odysee.com/',
|
|
},
|
|
],
|
|
|
|
secondButtonsContainer: [
|
|
{
|
|
id: '1',
|
|
name: 'Music',
|
|
icon: 'headphones',
|
|
link: 'https://open.spotify.com',
|
|
},
|
|
{
|
|
id: '2',
|
|
name: 'twitter',
|
|
icon: 'twitter',
|
|
link: 'https://twitter.com/',
|
|
},
|
|
{
|
|
id: '3',
|
|
name: 'bot',
|
|
icon: 'bot',
|
|
link: 'https://discord.com/app',
|
|
},
|
|
{
|
|
id: '4',
|
|
name: 'Amazon',
|
|
icon: 'shopping-bag',
|
|
link: 'https://amazon.com/',
|
|
},
|
|
{
|
|
id: '5',
|
|
name: 'Hashnode',
|
|
icon: 'pen-tool',
|
|
link: 'https://hashnode.com/',
|
|
},
|
|
{
|
|
id: '6',
|
|
name: 'Figma',
|
|
icon: 'figma',
|
|
link: 'https://figma.com/',
|
|
},
|
|
],
|
|
|
|
// ┬ ┬┌─┐┌┬┐┌─┐
|
|
// │ │└─┐ │ └─┐
|
|
// ┴─┘┴└─┘ ┴ └─┘
|
|
|
|
// First Links Container
|
|
firstlistsContainer: [
|
|
{
|
|
icon: 'music',
|
|
id: '1',
|
|
links: [
|
|
{
|
|
name: 'Inspirational',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Classic',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Oldies',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Rock',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
icon: 'coffee',
|
|
id: '2',
|
|
links: [
|
|
{
|
|
name: 'Linkedin',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Dribbble',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Trello',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Slack',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
|
|
// Second Links Container
|
|
secondListsContainer: [
|
|
{
|
|
icon: 'binary',
|
|
id: '1',
|
|
links: [
|
|
{
|
|
name: 'Spotify',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Reddit',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Hashnode',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Pocket',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
icon: 'github',
|
|
id: '2',
|
|
links: [
|
|
{
|
|
name: 'Web',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Rust',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Go',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
{
|
|
name: 'Repos',
|
|
link: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|