Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1615cd4f8a | |||
| f415d09820 | |||
| d503cb65e3 | |||
| 346f9b8cba | |||
| d817c96219 |
48
config.json
48
config.json
@@ -1,53 +1,53 @@
|
|||||||
{
|
{
|
||||||
"squares": [
|
"squares": [
|
||||||
{ "name": "media",
|
{ "name": "Media",
|
||||||
"color": "#61afef",
|
"color": "#61afef",
|
||||||
"links": [
|
"links": [
|
||||||
{ "name": "Youtube", "url": "https://youtube.com" },
|
{ "name": "Youtube", "url": "https://youtube.com" },
|
||||||
{ "name": "Jellyfin", "url": "https://stream.kawa.zip/" },
|
{ "name": "Jellyfin", "url": "https://stream.kawa.zip/" },
|
||||||
{ "name": "KawaMusic", "url": "https://music.kawawete.xyz/" },
|
{ "name": "KawaMusic", "url": "https://music.kawawete.xyz/" },
|
||||||
{ "name": "Tidal", "url": "https://tidal.com" },
|
{ "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",
|
"color": "#e06c75",
|
||||||
"links": [
|
"links": [
|
||||||
{ "name": "Front 1 Portainer", "url": "https://port.team4kw.fr" },
|
{ "name": "Admin", "url": "https://admin.microsoft.com" },
|
||||||
{ "name": "Front 2 Portainer", "url": "https://port.azuze.fr/" },
|
{ "name": "Entra", "url": "https://entra.microsoft.com/" },
|
||||||
{ "name": "IIRIAM Dockge", "url": "https://yacht.iiriam.fr/" }
|
{ "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",
|
"color": "#e5c07b",
|
||||||
"links": [
|
"links": [
|
||||||
{ "name": "Reddit", "url": "https://reddit.com" },
|
{ "name": "Ninja RMM", "url": "https://arescom.rmmservice.eu/" },
|
||||||
{ "name": "9GAG", "url": "https://9gag.com" },
|
{ "name": "Passportal", "url": "https://de-clover.passportalmsp.com/" },
|
||||||
{ "name": "Twitter", "url": "https://x.com/" },
|
{ "name": "Sharepoint Arescom", "url": "https://arescom.sharepoint.com/" },
|
||||||
{ "name": "Instagram", "url": "https://instagram.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": "tools",
|
{ "name": "Copilot", "url": "https://m365.cloud.microsoft/chat" },
|
||||||
"color": "#98c379",
|
{ "name": "Info Licences MS", "url": "https://m365maps.com" },
|
||||||
"links": [
|
{ "name": "Bali", "url": "https://bali.arescom.fr/" }
|
||||||
{"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"}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"searchEngine":"FindShit",
|
"searchEngine":"FindShit",
|
||||||
"user": "Kawa",
|
"user": "Sébastien",
|
||||||
"disableMessage": false,
|
"disableMessage": false,
|
||||||
"disableDate": false,
|
"disableDate": false,
|
||||||
"disableSearchBar": false,
|
"disableSearchBar": false,
|
||||||
"disable24Hour": false,
|
"disable24Hour": false,
|
||||||
"disableWeather": false,
|
"disableWeather": false,
|
||||||
"timeZone": "Europe/Paris",
|
"timeZone": "Eurpoe/Paris",
|
||||||
"weatherConf": {
|
"weatherConf": {
|
||||||
"location": "Melun",
|
"location": "Alfortville",
|
||||||
"unit": "cel"
|
"unit": "cel"
|
||||||
},
|
},
|
||||||
"settingsIcon": false,
|
"settingsIcon": false,
|
||||||
|
|||||||
18
js/main.js
18
js/main.js
@@ -112,17 +112,17 @@ function buildMsg() {
|
|||||||
currentTime = currentHour + (0.01 * currentMinute)
|
currentTime = currentHour + (0.01 * currentMinute)
|
||||||
|
|
||||||
if (inRange(currentTime, 0, 5.59))
|
if (inRange(currentTime, 0, 5.59))
|
||||||
return "Rendort toi..."
|
return "It's too late, take some sleep"
|
||||||
if (inRange(currentTime, 6, 8.30))
|
if (inRange(currentTime, 6, 8.59))
|
||||||
return "Trop tot pour bosser"
|
return "You're up early"
|
||||||
if (inRange(currentTime, 8.31, 11.59))
|
if (inRange(currentTime, 9, 11.59))
|
||||||
return "Je sens que ca va etre une bonne journée"
|
return "Have a good day ahead"
|
||||||
if (inRange(currentTime, 12, 16.59))
|
if (inRange(currentTime, 12, 16.59))
|
||||||
return "Bon aprem"
|
return "Good Afternoon"
|
||||||
if (inRange(currentTime, 17, 19.59))
|
if (inRange(currentTime, 17, 19.59))
|
||||||
return "Bonne soirée"
|
return "Good Evening"
|
||||||
if (inRange(currentTime, 20, 24))
|
if (inRange(currentTime, 20, 24))
|
||||||
return "Allez hop, on remballe"
|
return "It's time to wrap up for the day"
|
||||||
else
|
else
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,7 @@ function handleMessage(userName) {
|
|||||||
*/
|
*/
|
||||||
var builtMsg = buildMsg()
|
var builtMsg = buildMsg()
|
||||||
builtMsg == "" ?
|
builtMsg == "" ?
|
||||||
builtMsg = `Salut ${userName}` : builtMsg = `Hey ${userName}, ${builtMsg}!`
|
builtMsg = `Hello ${userName}` : builtMsg = `Hey ${userName}, ${builtMsg}!`
|
||||||
return builtMsg;
|
return builtMsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user