-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
33 lines (32 loc) · 1.49 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*--------------------------------------------------------------------------------------\
| _______ _ _____ _ _ _ ________ ___ ___ ___ __ |
| |__ __| (_) / ____| | | (_) / ____ \ |__ \ / _ \__ \/_ | |
| | | __ _ _ | (___ | |_ _ _ __| |_ ___ / / ___| \ ) | | | | ) || | |
| | |/ _` | | \___ \| __| | | |/ _` | |/ _ \ | | | | / /| | | |/ / | | |
| | | (_| | | ____) | |_| |_| | (_| | | (_) | | | |___ | / /_| |_| / /_ | | |
| |_|\__,_|_| |_____/ \__|\__,_|\__,_|_|\___/ \ \____| / |____|\___/____||_| |
| \________/ |
\--------------------------------------------------------------------------------------*/
const extensionConfig = require('./extension.json');
module.exports = {
main(ExtensionAPI) {
ExtensionAPI["ExtensionKit"].wallpaperExtend(`
<style>
.hello{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
text-align: center;
justify-content: center;
flex-direction: column;
font-size: 5em;
}
</style>
<div class="hello"><p>HELLO WORLD !</p></div>
`, extensionConfig.name);
return true;
}
}