From 22e9e82189d4b5c2b4c244cb422c564c7a06eb72 Mon Sep 17 00:00:00 2001 From: sup39 Date: Thu, 1 Aug 2024 11:23:01 +0800 Subject: [PATCH] chore: change settings for supnas --- config.json | 32 +++++++------------------------- index.html | 3 ++- public/manifest.json | 4 ++-- public/mx-uc.css | 4 ++++ vite.config.js | 4 ++++ 5 files changed, 19 insertions(+), 28 deletions(-) create mode 100644 public/mx-uc.css diff --git a/config.json b/config.json index de6015a..4e978cd 100644 --- a/config.json +++ b/config.json @@ -1,34 +1,16 @@ { - "defaultHomeserver": 2, + "defaultHomeserver": 0, "homeserverList": [ - "converser.eu", - "envs.net", - "matrix.org", - "monero.social", - "mozilla.org", - "xmr.se" + "chat.naskya.net", + "chat.sup39.dev" ], - "allowCustomHomeservers": true, + "allowCustomHomeservers": false, "featuredCommunities": { "openAsDefault": false, - "spaces": [ - "#cinny-space:matrix.org", - "#community:matrix.org", - "#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"] + "spaces": [], + "rooms": [], + "servers": [] }, "hashRouter": { diff --git a/index.html b/index.html index 9196cf3..711cd1b 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Cinny + Cinny@さぽなす + diff --git a/public/manifest.json b/public/manifest.json index acdcd00..ea900a1 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { - "name": "Cinny", + "name": "Cinny@さぽなす", "short_name": "Cinny", - "description": "Yet another matrix client", + "description": "Yet another matrix client for supnas", "dir": "auto", "lang": "en-US", "display": "standalone", diff --git a/public/mx-uc.css b/public/mx-uc.css new file mode 100644 index 0000000..27e53cd --- /dev/null +++ b/public/mx-uc.css @@ -0,0 +1,4 @@ +:root { + --mx-uc--sup39-chat_sup39_dev: #2EE5B8; + --mx-uc--naskya-chat_naskya_net: #F25A85; +} diff --git a/vite.config.js b/vite.config.js index 0d14067..34c0e99 100644 --- a/vite.config.js +++ b/vite.config.js @@ -35,6 +35,10 @@ const copyFiles = { src: 'public/res/android', dest: 'public/', }, + { + src: 'public/mx-uc.css', + dest: '', + }, { src: 'twemoji/assets/svg/*', dest: 'twemoji/',