5 Commits
perso ... taff

Author SHA1 Message Date
1615cd4f8a Update js/main.js 2025-10-27 16:37:04 +01:00
f415d09820 Update js/main.js 2025-10-27 16:28:50 +01:00
d503cb65e3 Update config.json 2025-10-27 15:50:16 +01:00
346f9b8cba Update js/main.js 2025-10-27 15:47:30 +01:00
d817c96219 Update config.json 2025-10-27 15:45:44 +01:00
2 changed files with 33 additions and 33 deletions

View File

@@ -1,53 +1,53 @@
{
"squares": [
{ "name": "media",
{ "name": "Media",
"color": "#61afef",
"links": [
{ "name": "Youtube", "url": "https://youtube.com" },
{ "name": "Jellyfin", "url": "https://stream.kawa.zip/" },
{ "name": "KawaMusic", "url": "https://music.kawawete.xyz/" },
{ "name": "Tidal", "url": "https://tidal.com" },
{ "name": "Tidal", "url": "https://zic.kawa.zip" }
{ "name": "Tidarr", "url": "https://zic.kawa.zip" }
]
},
{ "name": "homelab",
{ "name": "Admin MS",
"color": "#e06c75",
"links": [
{ "name": "Front 1 Portainer", "url": "https://port.team4kw.fr" },
{ "name": "Front 2 Portainer", "url": "https://port.azuze.fr/" },
{ "name": "IIRIAM Dockge", "url": "https://yacht.iiriam.fr/" }
{ "name": "Admin", "url": "https://admin.microsoft.com" },
{ "name": "Entra", "url": "https://entra.microsoft.com/" },
{ "name": "Teams", "url": "https://admin.teams.microsoft.com/" },
{ "name": "Intune", "url": "https://endpoint.microsoft.com/" },
{ "name": "Security", "url": "https://Security.microsoft.com/" },
{ "name": "Exchange", "url": "https://admin.exchange.microsoft.com/" },
{ "name": "Lighthouse", "url": "https://lighthouse.microsoft.com" }
]
},
{ "name": "social",
{ "name": "Outils",
"color": "#e5c07b",
"links": [
{ "name": "Reddit", "url": "https://reddit.com" },
{ "name": "9GAG", "url": "https://9gag.com" },
{ "name": "Twitter", "url": "https://x.com/" },
{ "name": "Instagram", "url": "https://instagram.com/" }
]
},
{
"name": "tools",
"color": "#98c379",
"links": [
{"name": "PDF", "url": "https://pdf.larrache.fr/"},
{"name": "YT DL", "url": "https://ytdl.kawa.zip/"},
{"name": "OmniTools", "url": "https://tools.larrache.fr/"},
{"name": "Penpot", "url": "https://id.larrache.fr"}
{ "name": "Ninja RMM", "url": "https://arescom.rmmservice.eu/" },
{ "name": "Passportal", "url": "https://de-clover.passportalmsp.com/" },
{ "name": "Sharepoint Arescom", "url": "https://arescom.sharepoint.com/" },
{ "name": "Console Unify", "url": "https://wifi.arescom.fr" },
{ "name": "Docker", "url": "https://10.19.100.10:9443" },
{ "name": "CIPP", "url": "https://cipp.arescom.fr" },
{ "name": "Watchguard Cloud", "url": "https://deu.cloud.watchguard.com" },
{ "name": "Copilot", "url": "https://m365.cloud.microsoft/chat" },
{ "name": "Info Licences MS", "url": "https://m365maps.com" },
{ "name": "Bali", "url": "https://bali.arescom.fr/" }
]
}
],
"searchEngine":"FindShit",
"user": "Kawa",
"user": "Sébastien",
"disableMessage": false,
"disableDate": false,
"disableSearchBar": false,
"disable24Hour": false,
"disableWeather": false,
"timeZone": "Europe/Paris",
"timeZone": "Eurpoe/Paris",
"weatherConf": {
"location": "Melun",
"location": "Alfortville",
"unit": "cel"
},
"settingsIcon": false,

View File

@@ -112,17 +112,17 @@ function buildMsg() {
currentTime = currentHour + (0.01 * currentMinute)
if (inRange(currentTime, 0, 5.59))
return "Rendort toi..."
if (inRange(currentTime, 6, 8.30))
return "Trop tot pour bosser"
if (inRange(currentTime, 8.31, 11.59))
return "Je sens que ca va etre une bonne journée"
return "It's too late, take some sleep"
if (inRange(currentTime, 6, 8.59))
return "You're up early"
if (inRange(currentTime, 9, 11.59))
return "Have a good day ahead"
if (inRange(currentTime, 12, 16.59))
return "Bon aprem"
return "Good Afternoon"
if (inRange(currentTime, 17, 19.59))
return "Bonne soirée"
return "Good Evening"
if (inRange(currentTime, 20, 24))
return "Allez hop, on remballe"
return "It's time to wrap up for the day"
else
return ""
}
@@ -137,7 +137,7 @@ function handleMessage(userName) {
*/
var builtMsg = buildMsg()
builtMsg == "" ?
builtMsg = `Salut ${userName}` : builtMsg = `Hey ${userName}, ${builtMsg}!`
builtMsg = `Hello ${userName}` : builtMsg = `Hey ${userName}, ${builtMsg}!`
return builtMsg;
}