chore: change settings for supnas

This commit is contained in:
sup39 2024-08-20 11:04:01 +08:00
parent 6c5b8a1d14
commit a8d78f19bf
Signed by: sup39
GPG key ID: 111C00916C1641E5
5 changed files with 19 additions and 28 deletions

View file

@ -1,34 +1,16 @@
{ {
"defaultHomeserver": 2, "defaultHomeserver": 0,
"homeserverList": [ "homeserverList": [
"converser.eu", "chat.naskya.net",
"envs.net", "chat.sup39.dev"
"matrix.org",
"monero.social",
"mozilla.org",
"xmr.se"
], ],
"allowCustomHomeservers": true, "allowCustomHomeservers": false,
"featuredCommunities": { "featuredCommunities": {
"openAsDefault": false, "openAsDefault": false,
"spaces": [ "spaces": [],
"#cinny-space:matrix.org", "rooms": [],
"#community:matrix.org", "servers": []
"#space:envs.net",
"#science-space:matrix.org",
"#libregaming-games:tchncs.de",
"#mathematics-on:matrix.org"
],
"rooms": [
"#cinny:matrix.org",
"#freesoftware:matrix.org",
"#pcapdroid:matrix.org",
"#gentoo:matrix.org",
"#PrivSec.dev:arcticfoxes.net",
"#disroot:aria-net.org"
],
"servers": ["envs.net", "matrix.org", "monero.social", "mozilla.org"]
}, },
"hashRouter": { "hashRouter": {

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title>Cinny</title> <title>Cinny@さぽなす</title>
<meta name="name" content="Cinny" /> <meta name="name" content="Cinny" />
<meta name="author" content="Ajay Bura" /> <meta name="author" content="Ajay Bura" />
<meta <meta
@ -26,6 +26,7 @@
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<link id="favicon" rel="shortcut icon" href="./public/favicon.ico" /> <link id="favicon" rel="shortcut icon" href="./public/favicon.ico" />
<link rel="stylesheet" href="/mx-uc.css" />
<link rel="manifest" href="/manifest.json" /> <link rel="manifest" href="/manifest.json" />
<meta name="mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" />

View file

@ -1,7 +1,7 @@
{ {
"name": "Cinny", "name": "Cinny@さぽなす",
"short_name": "Cinny", "short_name": "Cinny",
"description": "Yet another matrix client", "description": "Yet another matrix client for supnas",
"dir": "auto", "dir": "auto",
"lang": "en-US", "lang": "en-US",
"display": "standalone", "display": "standalone",

4
public/mx-uc.css Normal file
View file

@ -0,0 +1,4 @@
:root {
--mx-uc--sup39-chat_sup39_dev: #2EE5B8;
--mx-uc--naskya-chat_naskya_net: #F25A85;
}

View file

@ -43,6 +43,10 @@ const copyFiles = {
src: 'twemoji/assets/svg/*', src: 'twemoji/assets/svg/*',
dest: 'twemoji/', dest: 'twemoji/',
}, },
{
src: 'public/mx-uc.css',
dest: '',
},
], ],
}; };